Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Help me about a code
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2016년 9월 18일
편집: Walter Roberson
2016년 9월 18일
댓글 수: 2
Walter Roberson
2016년 9월 18일
If you have the Signal Processing Toolbox then you can
dbtype dct
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!