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' '.

4 ビュー (過去 30 日間)
Firstly what code would you use to perform the fft? Secondly how do I get rid of this Error?

採用された回答

KSSV
KSSV 2016 年 10 月 13 日
Convert int16 data to double using double()
fft needs data to be in double.
data = double(data) ;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by