Why do I get a different Phase graph, when using FFT versus hand calculations?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
Rena Berman
2017-7-18
(Answers Dev) Restored edit
采纳的回答
更多回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!