For loop to read n file and extract features and store it in .mat file?

2 ビュー (過去 30 日間)
Rajith
Rajith 2014 年 8 月 5 日
コメント済み: Rajith 2014 年 8 月 5 日
How to read n(eg. 10) wav files from the directory and extract MFCC and PLP fetaures (from 2 different.m files) for all the 10 wav files and store it .mat file?
I know I have to use the for loop but I am not getting the correct syntax?
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 8 月 5 日
Post your code
Rajith
Rajith 2014 年 8 月 5 日
Thanks Azzi Abdelmalek I found out the answer

サインインしてコメントする。

採用された回答

Rajith
Rajith 2014 年 8 月 5 日
A= {'','','','',}; for i = 1:4, [data,fs]= wavread(A{i}); // here give the mfcc function // here give the plp function end
But I want to save the data after extarcting each feature so I tried to put save (mfcc(i))
and save (plp(i)) but i didn't work any ideas?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by