Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
How to take the discrete fourier transform of this signal and plot the magnitude vs frequency and phase vs frequency by using Mathcad Prime dft built in function?
Suppose that we will sample this signal at 4 time per second (fs=4Hz) from t=0 to t=3/4.
I have tried something manually, but how to show phase plot I do not know right now...
Prime 10 file attached.
You have to use "arg", not "angle"
You may want to lookup these functions in the help
Could you attach the mathcad prime 10 file?
I useally use Prime 11. So, copy and past one by one from 11 to 10.
Attach it.
Magnitude of spectrum must divide by 400, the number of data used to dft.
A half of its value is the n-th value of the spectrum. Another of harf is at the bottom of spectrum data, such as DC, 1st, 2nd, ..... 2nd, 1st.
Phase of signal seems to valid for spectrum with magnitude more than 10 or 20 in this case.