hi, i have a non stationary signal whose frequency is varying with time and i want to plot its FFT verses time of the signal. Can anyone explain me how to plot FFT vs Time

 채택된 답변

Anton Semechko
Anton Semechko 2012년 2월 6일

0 개 추천

What you want is called short time Fourier transform. Here is as example: http://www.mathworks.com/matlabcentral/fileexchange/1553-spectrogram-short-time-ft-log-magnitude

댓글 수: 3

Sravantej
Sravantej 2012년 2월 6일
Thanks anton for the link provided
Sravantej
Sravantej 2012년 2월 7일
hi anton, the link you provided was useful, but i have one doubt in it. When i use a code like
[tf1,f1,t1]=specgram(r1,2^nextpow2(50),120e6,50,20);
the output matrices i'm getting are of sizes t1=23*1, f1=33*1 and tf1=33*23. My question is how t1,f1 matrices sizes are determined i.e, what is the formula used to get the sizes of matrices based on window length and overlap. Here my signal size is 720*1, window length is 50, overlap is 20 samples. Could you please help me.
Anton Semechko
Anton Semechko 2012년 2월 7일
Look at the code to see how the size of the output arguments is determined with respect to the input ...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

질문:

2012년 2월 6일

편집:

2013년 10월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by