evaluating SHORT TIME FOURIER TRANSFORM of a stationary signal 1.0 
Date Added: July 21, 2013  Visits: 284 


the stationary signal f(t)=cos(2*pi*5*t)+ cos(2*pi*10*t)+ cos(2*pi*20*t)+ cos(2*pi*50*t)having frequencies of 5,10, 20and 50 Hz at any given time instant.MATLAB program can be implemented to plot the stationary signal mentioned above:Clear all;Clf;n=1:200;y=cos(2*pi*5*n/200)+cos(2*pi*10*n/200)+cos(2*pi*20*n/200)+cos(2*pi*50*n/200);plot(y);/*sampling frequency (fs)=200hzx[t]=x[n*Ts]Sampling period(Ts)=(1/fs)*//*The same signal if is nonstationary in nature,i.e its frequency changes with time, from 5,10,20 to 50 hz.one frequency exists at a time.The nonstationary signal can be produced using the following MATLAB program:*/N1=50;m=1;z=N1;f=5;for i=1:4n=m:z;x1(m:z)=cos(2*pi*(f/200)*n);m=z+1;z=m+N11;if(i~=3)f=f*2;else f=50;endendThe similarity between is that both of them show four spectral components at exactly the same frequencies, i.e., at 5,10, 20, 50.Other than the ripples, and the difference in amplitude (which can always be normalized), the two spectrums are almost identical, although the corresponding timedomain signals are not even close to each other. Both of the signals involve the same frequency components, but the first one has these frequencies at all times, the second one has these frequencies at different intervals. As the FT gives the spectral content of the signal, but it gives no information regarding where in time those spectral components appear . Therefore, FT is not a suitable technique for nonstationary signal.In STFT, the signal is divided into small enough segments, where these segments (portions) of the signal can be assumed to be stationary. For this purpose, a window function "w" is chosen. The width of this window must be equal to the segment of the signal where its stationarity is valid.This window function is first located to the very beginning of the signal. That is, the window function is located at t=0. Let's suppose that the width of the window is "T" s. At this time instant (t=0), the window function will overlap with the first T/2 seconds (I will assume that all time units are in seconds). The window function and the signal are then multiplied. By doing this, only the first T/2 seconds of the signal is being chosen, with the appropriate weighting of the window (if the window is a rectangle, with amplitude "1", then the product will be equal to the signal). Then this product is assumed to be just another signal, whose FT is to be taken. In other words, FT of this product is taken, just as taking the FT of any signal.The result of this transformation is the FT of the first T/2 seconds of the signal. If this portion of the signal is stationary, as it is assumed, then there will be no problem and the obtained result will be a true frequency representation of the first T/2 seconds of the signal.The next step, would be shifting this window (for some t1 seconds) to a new location, multiplying with the signal, and taking the FT of the product. This procedure is followed, until the end of the signal is reached by shifting the window with "t1" seconds intervals.The following definition of the STFT summarizes all the above explanations in one line:STFT(T,X)=INTEGRATION [ x(t) * w(tt') * exp(j*2*pi*f*t) ] dt over tTaking the previous example of the nonstationary signal whose frequency increases from5,10,20 to 50 hz, we evaluate the STFT of that signal taking rectangular window of length 50,and shifting it for 1 unit each time,resulting into a highly overlapping window.Thus we get the 3D plot of STFT of the signal.AmplitudeFrequencyTime curve

License: Freeware  Size: 10 KB 
Business

Wordpress Comment Submission Tool 9.0
If you run any kind of business, then obviously you know that it is important to get other people know about your product or service. Because if people don t know about your product or service, then how can you connect with them, and/or make a... 
2.07 MB  
Modules

Product ReOrder Report 1.0
The reorder report shows those products where the quantity on hand is lower than the minimum on hand. The report also show how many of that product to order from the manufacturer, by taking the maximum and subtracting it from the quantity on... 

Utilities

detox 1.2.0
Detox is a utility designed to clean up filenames. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up filenames with UTF8 or Latin1 (or CP1252) characters in them. 
81.92 KB  
Image Galleries

3D Clock applet for Graphics and Animations 1.1
The 3D Clock applet is a simulation of a digital LEDdisplay clock being rotated and twisted in space. It was inspired by a VGAdemo written by AXiS.The colors in the COLOR and BGCOLOR parameters should be 24bit RGB values. If the number is... 
10 KB  
Image Galleries

SpaceFlight for Graphics and Animations 1.03
SpaceFlight applet is another little text effect you can add to your homepage. It makes your webvisitors feel like they're flying through space, with stars and messages whizzing past them.The colors in the TEXTCOLOR parameter should be 24bit RGB... 
10 KB  
Development Tools

Butterworth Filter 1.0
This function file is basically for Passive Butterworth Filter for Low pass as well as for High Pass. In input it takes the Pass Band Attenuation, Band Stop attenuation, Band Pass Frequency, band stop frequency, and Filter Type. For Low Pass Type... 
10 KB  
Development Tools

saturation function 1.0
This file contains a funtion (mfile) and a simulink block. They both give the approximation of the saturation of a function between the values [1,1]. The main advantage and purpose of designing this simple yet powerful function is to obtain a... 
10 KB  
Networking

RP News Ticker 0.7
The plugin creates a widget to display a nice horizontal newsticker which can be placed in a sidebar. Based upon liScroll.js by Gian Carlo Mingati. Tested in WordPress 3.0 only. Demo: http://chernivtsi.ws (in Ukrainian).# Installation : 1. Upload... 
10 KB  
Networking

Tui's Find Thumb 1.02
Many WordPress themes, are heavily dependant on "feature images" to use as thumbnails to make them look good. This is great except it adds a lot of extra work setting up these thumb references, but equally if you are in a hurry and forget you add... 
10 KB  
Modules

QQ Weibo Plugin for WordPress 1.0
It has a widget, you can drag it drop it where you want in the side.Also you can set it how many tweetes you want to show. You do not need to input you qq account and password, you just tell qq that you want to use this plugin by click a link. It... 
92.16 KB 
Scripts

Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The... 
1.44 KB  
Scripts

MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and... 
368.54 KB  
Scripts

Php Chat 2.0
Add a free php site, single signon and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2.... 
938.87 KB  
Scripts

Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS.... 
371.09 KB  
Scripts

PHP File Manager  CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud... 
1.41 MB  
Communication

Contact Form Script 1
This PHP script is a fully functioning contact form which can be easily installed on your own website. It enables users to contact you directly by filling out the form. The PHP script is completely FREE to use, and none of the code is encoded... 
19 KB  
Communication

Ethernet Source with SimEvents 1.1
When audio or video is transmitted over an Ethernet network, the data is usually transmitted in bursts of packets with long idle times in between bursts. SimEvents is a good tool for modeling those types of sources and studying the effects of... 
2.8 MB  
Communication

Autocorrelation and Crosscorrelation function of gold sequence 1.0
This mfile finds and plots the autocorrelation and crosscorrelation function(ACF and CCF) of generated Gold codes of length 31.Crosscorrelations are three valued. 
10 KB  
Communication

Zoom Spectrum 1.0
This function returns N point DFT samples of 2dw band of Fourier transform of a sequence. Typically, fft() returns N samples of Fourier transform ranging from 0 to 2pi. This function takes the Npoint DFT samples and returns Npoint samples... 
10 KB  
Communication

BER of BPSK DSSS System 1.0
This mfile finds the bit error rate performance of BPSK DSSS system over (i) AWGN channel and (ii) Slow Rayleigh fading channel corrupted by AWGN. Compare the performance with simple BPSK system.In this simulation I have used two functions.So to... 
10 KB 