Matrix dimensions must agree.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do I multiply a 2x101 matrix with a 101x101 matrix??
I tried everything, it gives me the above error every time.
Please help,
Thanks, Rohan
0 commentaires
Réponse acceptée
Walter Roberson
le 29 Mar 2013
>> A = rand(2,101); B = rand(101,101); size(A*B)
ans =
2 101
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!