how to use fft command to compute equation?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
given a discrete-time sinusoid x[n]=10cos(200*pi*t+1.2) where n is between 0 and 100 (including 0 and 100)
how to use fft command to compute the following equation?
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
and how to use the command max in the peak search to determine the peak freqency?
1 Commento
Matt J
il 23 Ott 2012
you probably want to edit this formula
x[n]=10cos(200*pi*t+1.2)
There is no dependence on n shown on the right hand side.
Risposte (1)
Matt J
il 23 Ott 2012
Modificato: Matt J
il 23 Ott 2012
Hint: Notice that the quantity inside the | |^2 is the formula for the FFT of x[n], up to some scale factor maybe.
As for using MAX, it should be very straightforward from the documentation.
3 Commenti
Matt J
il 23 Ott 2012
No, nobody will help until you've shown some attempt at reading the documentation and informing yourself about MATLAB.
The tasks you say you want to perform are straightforward applications of the MATLAB commands FFT and MAX and the help documentation on these should make it very clear how to do what you need.
modified covariance
il 23 Ott 2012
Modificato: modified covariance
il 23 Ott 2012
Vedere anche
Categorie
Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!