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

1 vue (au cours des 30 derniers jours)
Rajith
Rajith le 5 Août 2014
Commenté : Rajith le 5 Août 2014
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 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 5 Août 2014
Post your code
Rajith
Rajith le 5 Août 2014
Thanks Azzi Abdelmalek I found out the answer

Connectez-vous pour commenter.

Réponse acceptée

Rajith
Rajith le 5 Août 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?

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by