Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Help me about a code

1 visualización (últimos 30 días)
bayran arrieta
bayran arrieta el 18 de Sept. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentario
John D'Errico
John D'Errico el 18 de Sept. de 2016
Note this is absolutely not the code that MATLAB uses for fft.

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Sept. de 2016
Editada: Walter Roberson el 18 de Sept. de 2016
  2 comentarios
bayran arrieta
bayran arrieta el 18 de Sept. de 2016
Editada: bayran arrieta el 18 de Sept. de 2016
Do you know what is the equation exactly used in it? thank you beforehand
Walter Roberson
Walter Roberson el 18 de Sept. de 2016
If you have the Signal Processing Toolbox then you can
dbtype dct

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by