Covert cell to matrix for MFCC features vector

2 次查看(过去 30 天)
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

采纳的回答

ragesh r menon
ragesh r menon 2014-4-10
Use cell2mat
%"a" is a cell array
b = cell2mat(a);
  2 个评论
Hamzah amee
Hamzah amee 2014-4-10
编辑:Hamzah amee 2014-4-10
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 2014-4-11
编辑:ragesh r menon 2014-4-11
< Cell2mat > It seems already answered . See the link

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by