フィルターのクリア

Time versus Frequency plot

43 ビュー (過去 30 日間)
Uspike
Uspike 2015 年 8 月 6 日
コメント済み: krishneel kumar 2020 年 3 月 3 日
Hello,
I am working on a data obtained from oscilloscope. I transformed time vs intensity to frequency vs intensity plot using FFT function in Matlab. But for some analysis I need to convert same data into Time vs Frequency plot.
Can anyone help me please. I am pretty new to Matlab.
A bit of more explanation is appreciated.
Thank you in advance.
  1 件のコメント
Adam
Adam 2015 年 8 月 6 日
doc spectrogram
if you have the Signal Processing toolbox

サインインしてコメントする。

採用された回答

Joe
Joe 2015 年 8 月 6 日
There are different ways to do what you want, but in my opinion the simplest is also the best: The "short time FFT." (The Hilbert transform is another common method, but a little more involved). Basically you take an FFT of different sections of the signal, and use that to plot its frequency behavior over time. Here is an overview from an audio perspective, with MATLAB examples.
Like Adam said, 'spectrogram' implements this functionality if you have the SP toolbox. There is an STFT submission on the file exchange which does something similar; it also requires the SP toolbox.
Quick Googling didn't lead me to any implementations which work without the SP toolbox, so you might have to write your own if you don't have it. The algorithm itself isn't too complicated but if you're new to MATLAB that might be tough; I'd recommend you search a little longer for a base implementation if you're missing the toolbox.
  2 件のコメント
Uspike
Uspike 2015 年 8 月 6 日
Thanks a lot... let me check and get back to you... :-)
krishneel kumar
krishneel kumar 2020 年 3 月 3 日
Hello
I have a data of 700 seconds. I have taken FFT of this data at every 2 seconds. Now, I am not sure how to represent this data in terms of Time Vs Frequency.
Hoping if you could advise on this.
Thank you

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by