Help me about a code
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
If this code that I did it of fast Fourier transform that matlab use in y=fft(x),
X = xlsread('Arrastre.xls',1,'B1:B1441');%presiom
[N,M] = size(X);
y = zeros (N,1);
n = 0 : N-1;
for k = 0 : N-1
y(k+1) = sum(exp(-j*2*pi*n*k/N)*X);
end
y;
How is the code for DCT or Discrete Fourier transform that matlab use for y=dct(x)?
1 Kommentar
John D'Errico
am 18 Sep. 2016
Note this is absolutely not the code that MATLAB uses for fft.
Antworten (1)
Walter Roberson
am 18 Sep. 2016
Bearbeitet: Walter Roberson
am 18 Sep. 2016
0 Stimmen
2 Kommentare
bayran arrieta
am 18 Sep. 2016
Bearbeitet: bayran arrieta
am 18 Sep. 2016
Walter Roberson
am 18 Sep. 2016
If you have the Signal Processing Toolbox then you can
dbtype dct
Diese Frage ist geschlossen.
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!