git-svn-id: http://moon:8086/svn/matlab/trunk@153 801c6759-fa7c-4059-a304-17956f83a07c
13 lines
543 B
Matlab
Executable File
13 lines
543 B
Matlab
Executable File
% ##################################################################################
|
|
% ## Loesung: DFT reeller Datenfolgen ##
|
|
% ## -------------------------------------------------------------------------- ##
|
|
% ## Benoetigte(s) m-File(s): lfft.m ##
|
|
% ##################################################################################
|
|
|
|
N = 2^10;
|
|
x = randn(1,N);
|
|
X1 = fft(x);
|
|
X2 = lfft(x);
|
|
differenz = mean(abs(X1-X2).^2)
|
|
% ##### EOF #####
|