Covert cell to matrix for MFCC features vector

Hi,
I have a result of MFCC features vectors stores in an cell array of 77x1cell as below:
(<20x5820 double>)
(<20x4659 double>)
(<20x1896 double>) and so on...77 times.
I want to compute the euclidean distance between each of 77x1 cell. How should I do this?
Thanks a lot

 Accepted Answer

Use cell2mat
%"a" is a cell array
b = cell2mat(a);

2 Comments

Hi ragesh, so in my case b=cell2mat(result)? it doesnt work ..I found this error..please help me..
Error using cat
Dimensions of matrices being concatenated are not consistent.
Error in cell2mat (line 84)
m{n} = cat(1,c{:,n});
< Cell2mat > It seems already answered . See the link

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!