Hi, dieser Code stammt aus einem Beispiel von ammod in Matlab: http://www.mathworks.com/help/comm/ref/ammod.html
1 | % Compute spectra of both modulated signals. |
2 | zdouble = fft(ydouble); |
3 | zdouble = abs(zdouble(1:length(zdouble)/2+1)); |
4 | frqdouble = [0:length(zdouble)-1]*Fs/length(zdouble)/2; |
Frage: Was macht die zweite Zeile? Warum werden nur die ersten halben Werte benutzt? Gruss Senmeis