clear
files=dir(fullfile(matlabroot,'work\Data hide\eightbits\*.wav'));
sizef=size(files);
for k=1:sizef(1)
name{k}=getfield(files,{k,1},'name');
end
i=1;
for k=1:sizef(1)
fname=char(name(k))
[data fs b]=wavread(fname);
if(b==8)
eightbit{i}=fname;
i=i+1;
end
end
put "getfiles.m" and "autostat.m"(which is explained in previous post) in the same folder with your wav files. you can put all your wav files,not only 8-bit ones... "getfiles" will exclude other files itself.
so first run getfiles and then autostat... then all .mat files are now put in that folder. you can import them one by one and copy and paste into excel...
Remember that you should start from the last .mat file! :-D
but wait! I think that's better to make a multiple deminsional matrix in one time and then copy it to exel?! that must be so simple!
No comments:
Post a Comment