Error using * Inner matrix dimensions must agree
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I enter this h=abs((j*w*R*c)./((j*w*R*c)-(w*w*L*c)+1)); but it told me that Error using * Inner matrix dimensions must agree how can i solve it?
1 commentaire
Roger Stafford
le 27 Avr 2016
Please show us the results of:
size(w)
size(R)
size(c)
size(L)
size(j)
Then we can answer your question.
Réponses (2)
Muhammed Fasil
le 28 Avr 2016
Dear E. sarah,
Follow matrix multiplication rule eg: If u want to multiple w*R where w has order AxB and R has order BxC then inorder them to be multiplied Ax B* B xC, B of both variable(w and R) should be same.
Check your variable orders as suggested by Roger.
0 commentaires
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!