I am reading a .wav file and I have been able to plot it. I am now trying to perform a FFT on two of the three channels; I am trying but I keep getting 'Undefined function 'fft' for input arguments of type 'int16' '.
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Oliver Bunn
el 13 de Oct. de 2016
Comentada: Oliver Bunn
el 13 de Oct. de 2016
Firstly what code would you use to perform the fft? Secondly how do I get rid of this Error?
0 comentarios
Respuesta aceptada
KSSV
el 13 de Oct. de 2016
Convert int16 data to double using double()
fft needs data to be in double.
data = double(data) ;
Más respuestas (0)
Ver también
Categorías
Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!