Alternate way to find the frequencies using fft apart from the fft plot?
조회 수: 2 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!