Why do I get a different Phase graph, when using FFT versus hand calculations?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Hi Matlab,
I have calculated the Fourier transform for an equation (by hand) and than entered this into matlab using (FFT) to verify my answer. When I plot the magnitude (against frequency), I get very similar graphs. However when I plot the phase (against frequency), I get two different looking graphs, however the magnitude of the phase looks the same. Can you please explain, I have attached images and code used.
The function I am solving is:
s1 = (t1-3).*exp(-t1).*heaviside(t1-3);
The Fourier Transform of this (Hand Calculation): S1f = (exp(-3.*(1+1i*2*pi*f1)))./((1+1i*2*pi*f1).^2);
I than used FFT to solve s1, to verify my answer above. I than used matlab to plot magitude and phase graphs of the hand calcs and FFT calcs. The magnitude graphs looks ok, however something is wrong with the phase graphs.
Kind Regards Peter
1 Kommentar
Rena Berman
am 18 Jul. 2017
(Answers Dev) Restored edit
Akzeptierte Antwort
Weitere Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!