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

조회 수: 1 (최근 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?

채택된 답변

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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by