Discrete fourier transform (DFT) Question
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317166/image.png)
I have already get the waveform of the equation given. But I don't have any idea on how to calculate the magnitude and phase of the spectrum above.
Is that anyone can share the coding in MATLAB to get the magnitude and phase of this spectrum?
Thank you all so much!!!
0 commentaires
Réponses (1)
Sindar
le 16 Juin 2020
Check out this example from the angle documentation: https://www.mathworks.com/help/matlab/ref/angle.html#mw_9b727746-7db3-4b26-92f8-cacbefc24cd6. It is practically identical to your problem
0 commentaires
Voir également
Catégories
En savoir plus sur Spectral Analysis dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!