Covert cell to matrix for MFCC features vector

2 vues (au cours des 30 derniers jours)
Hamzah amee
Hamzah amee le 10 Avr 2014
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

Réponse acceptée

ragesh r menon
ragesh r menon le 10 Avr 2014
Use cell2mat
%"a" is a cell array
b = cell2mat(a);
  2 commentaires
Hamzah amee
Hamzah amee le 10 Avr 2014
Modifié(e) : Hamzah amee le 10 Avr 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 le 11 Avr 2014
Modifié(e) : ragesh r menon le 11 Avr 2014
< Cell2mat > It seems already answered . See the link

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by