Covert cell to matrix for MFCC features vector

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

ragesh r menon
ragesh r menon on 10 Apr 2014
Use cell2mat
%"a" is a cell array
b = cell2mat(a);
  2 Comments
Hamzah amee
Hamzah amee on 10 Apr 2014
Edited: Hamzah amee on 10 Apr 2014
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});
ragesh r menon
ragesh r menon on 11 Apr 2014
Edited: ragesh r menon on 11 Apr 2014
< 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!