Hi Wong, Can you please be more specific what you define as a "simple burst" signal. I think you have to be more exact in your description before people will be able to help you.
wayne
Dear wayne,
oops, sorry..okay, currently I am doing a project on Spectral Analysis of Discrete Fourier Transform(DFT) signals using Matlab, i need to identify some DFT parameter such as Signal length, DFT length, windowing effect and to learn the effect of varying these DFT parameters for signal analysis. So far i have done analysis on simple sine wave x[n]=sin(2*pi*fo*n*(Ts)) , and by perfoming fft(x) I can get the frequency content of the signal..Now, i need to do spectral analysis on some other waveforms, such as square wave, triangle wave and burst signal..thats why i need to know the programming code or the Equation for square wave(which consists of a few frequency), and burst signal.. I have no idea how to write coding to represent a square wave and burst signal, hope you can help me..thankyou..
Regards,
Wong
Hi Wong, the Signal Processing Toolbox has a number of waveform generation utilities including a square wave. If you read the documentation, these are easy to find.
At the Matlab command prompt type:
>>doc
Then select the icon for Signal Processing Toolbox. In the top left hand side of the product page, you select "Functions-By Category", then "Waveform Generation".
Alternatively, via the web go to:
http://www.mathworks.com/access/helpdesk/help/toolbox/signal
Select "Functions-By Category" and then "Waveform Generation"
Hope that helps,
wayne
Hi Wayne,
oh ya, i saw that... there are square, sawtooth, aperiodic triangle and so on.. But what about burst signal? Can u teach me how to generate burst signal in coding?
Regards,
Wong
We cannot help you because we do not know what you mean by "burst
signal".
Do you mean something like this:
z=zeros(1000,1);
z(500)=1;
i.e. a Dirac delta?
Or what?