フィルターのクリア

calculate normalised frequency of the below plot

2 ビュー (過去 30 日間)
Venkatkumar M
Venkatkumar M 2019 年 8 月 12 日
コメント済み: Star Strider 2019 年 8 月 13 日
How to calulate frequency from above graph?
convert normalised frequency(0.03) into frequncy(hz)?
how to do this?

採用された回答

Star Strider
Star Strider 2019 年 8 月 12 日
convert normalised frequency(0.03) into frequncy(hz)?
Multiply the normalised frequency by the Nyquist frequency.
The sampling frequency is 1/(sampling interval). The Nyquist frequency is one-half of the sampling frequency.
  20 件のコメント
Venkatkumar M
Venkatkumar M 2019 年 8 月 13 日
since fs =1 it shows error and in case if i change it the fs=1000 figure plot displays
Star Strider
Star Strider 2019 年 8 月 13 日
You need to understand the argument list order for the pwelch function.
Try this:
[pxx,f] = pwelch(D2,[],[],[],Fs);
figure
subplot(3,1,1)
plot(f, pxx(:,1))
grid
xlabel('Frequency (Hz)')
ylabel('PSD')
title('Column 1')
subplot(3,1,2)
plot(f, pxx(:,2))
grid
xlabel('Frequency (Hz)')
ylabel('PSD')
title('Column 2')
subplot(3,1,3)
plot(f, pxx(:,3))
grid
xlabel('Frequency (Hz)')
ylabel('PSD')
title('Column 3')
That worked when I ran it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTransforms and Spectral Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by