plotting frequency response of data in matlab

2 ビュー (過去 30 日間)
shirin
shirin 2020 年 10 月 28 日
コメント済み: Star Strider 2020 年 10 月 29 日
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

採用された回答

Star Strider
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 件のコメント
shirin
shirin 2020 年 10 月 28 日
Problem solved! Thanks a lot.
Many Thanks
Shirin
Star Strider
Star Strider 2020 年 10 月 29 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by