フィルターのクリア

How can I draw a Frequency-Domain?

1 回表示 (過去 30 日間)
mohammad heydari
mohammad heydari 2021 年 8 月 27 日
編集済み: mohammad heydari 2021 年 9 月 13 日
Hi,
I encounter the problem of transforming a shape from the time domain to the frequency domain.
I used the following commands to convert Fourier.
n1=8;
n2=72;
nt=25501;
dt=1.176470588235294e-13;
F=zeros(n1+n2+2,nt);
F1=F(n1+n2,:);
F2 = fftshift(fft(F1));
f=linspace(-10,10,length(F2));
figure(1);
plot(f, 10*log10(abs(F2)))
Please do not doubt the values entered such as 'nt' and 'dt' because all the shapes obtained in the time domain are correct and the only problem is in converting the frequency.
Let me know please.
Thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by