Alternate way to find the frequencies using fft apart from the fft plot?

3 ビュー (過去 30 日間)
rohail khan
rohail khan 2018 年 4 月 1 日
コメント済み: rohail khan 2018 年 4 月 2 日
hi, I have plotted the following three Sinusoidal wave forms of 70,80 and 90 MHz.
t=0:1/1000:0.2-1/1000;
w1=2*pi*70;
w2=2*pi*80;
w3=2*pi*90;
A1=1;
A2=1/2;
A3=1/3;
f1=A1*sin(w1*t);
f2=A2*sin(w2*t);
f3=A3*sin(w3*t)
f=f1+f2+f3;
plot(t,f)
title('3 combined curves')
xlabel('time')
hold off
Now I use fft to to find the frequencies from the combined frequency 'f'. I used the following code
%Now using FFT to find the frequencies 60Hz, 70 Hz, and 80 Hz
F=fft(f)
plot(abs(F))
xlable('frequency')
I am trying to recover back the frequency and amplitude of 60,70 and 80 MHz from the combined frquency f. I can find that it by magnifying the plot(abs(F)).
My first question is that is there any other way to find the frequencies and amplitudes?
My second question is that why the the amplitudes are now multiplied by a factor of 100 in the plot?

回答 (1 件)

Abhishek Ballaney
Abhishek Ballaney 2018 年 4 月 2 日
Use filters
  1 件のコメント
rohail khan
rohail khan 2018 年 4 月 2 日
sorry I am new to matlab. How can do it in the above example. Thanks

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by