How to Generate 12 random values and use the fft command in Matlab to find its 12-point DFT

2 vues (au cours des 30 derniers jours)
how to Generate 12 random values and use the fft command in Matlab to find its 12-point DFT

Réponses (1)

Sriram Tadavarty
Sriram Tadavarty le 4 Avr 2020
Hi Riya,
You can generate random values with rand function and perform DFT with fft function.
Simply,
x = rand(12,1);
y = fft(x);
For more datils on random number generations, look here.
Hope this helps.
Regards,
Sriram

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by