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

 채택된 답변

ragesh r menon
ragesh r menon 2014년 4월 10일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2014년 4월 10일

편집:

2014년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by