Matrix dimensions must agree.
Afficher commentaires plus anciens
I am trying to multiply the same matrix by the transpose of itself and it is giving me the error of matrix dimensions must agree. Code: XX=X.*X';
Réponses (1)
Rick Rosson
le 23 Mar 2016
0 votes
Try using * instead of .*
3 commentaires
mike moran
le 23 Mar 2016
Rick Rosson
le 23 Mar 2016
Have you tried it?
mike moran
le 23 Mar 2016
Catégories
En savoir plus sur Numeric Types 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!