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

1 view (last 30 days)
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?

Accepted Answer

Rajith
Rajith on 5 Aug 2014
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?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!