plotting frequency response of data in matlab
2 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am trying to plot frequency response for the attached data. I can plot its time domain, However I am not able to plot the frequency response. Can anyone help please.
Regards
Shirin
0 个评论
采纳的回答
Star Strider
2020-10-28
There is only one column of data, that I assume are the independent variable. You cannot plot its frequency response without an associated time vector (vector of sampling instants). This is important with respect to knowing if the sampling intervals are constant (they can be resampled to constnt samplilng intervals if not), since that is required for all signal processing applications, including the Fourier transform. The time vector is required in order to calculate the frequency vector (independent variable) in the fft plot.
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!