Info
This question is closed. Reopen it to edit or answer.
Help me about a code
1 view (last 30 days)
Show older comments
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 Comment
Answers (1)
Walter Roberson
on 18 Sep 2016
Edited: Walter Roberson
on 18 Sep 2016
2 Comments
Walter Roberson
on 18 Sep 2016
If you have the Signal Processing Toolbox then you can
dbtype dct
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!