Error using * (Inner matrix dimensions must agree.)

CiriMEAN = mean2(mag);
CiriENT = -H*log2(H+eps)';
CiriVAR = (I-CiriMEAN).^2*H';
Error using *
Inner matrix dimensions must agree.
Error in pelatihan (line 35)
CiriVAR = (I-CiriMEAN).^2*H';

 Réponse acceptée

madhan ravi
madhan ravi le 12 Déc 2018
.*

5 commentaires

CiriMEAN = mean2(mag);
CiriENT = -H*log2(H+eps)';
CiriVAR = (I-CiriMEAN).^2.*H';
Error using .*
Matrix dimensions must agree.
Error in pelatihan (line 35)
CiriVAR = (I-CiriMEAN).^2.*H';
size(I-CiriMEAN).^2)
size(H)
Thank you, that is very helpful
madhan ravi
madhan ravi le 12 Déc 2018
Anytime :)
output = multisvm(data_latih,target_latih,data_latih);
Undefined function or variable 'multisvm'.
Error in pelatihan (line 36)
output = multisvm(data_latih,target_latih,data_latih);
Can you fix it?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by