cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

How to take DFT of this signal using Prime built in dft function?

Cornel
19-Tanzanite

How to take DFT of this signal using Prime built in dft function?

 

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?

Cornel_1-1751551646272.png


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...

Cornel_2-1751551943114.png

Cornel_3-1751551962909.png

 

Prime 10 file attached.

5 REPLIES 5
Werner_E
25-Diamond I
(To:Cornel)

You have to use "arg", not "angle"

You may want to lookup these functions in the help

ppal
17-Peridot
(To:Cornel)

ppal_0-1751583231021.png

 

ttokoro
21-Topaz I
(To:Cornel)

image.pngimage.png

Cornel
19-Tanzanite
(To:ttokoro)

 

Could you attach the mathcad prime 10 file?

 
ttokoro
21-Topaz I
(To:Cornel)

 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.

Announcements


Top Tags