'Matrix dimensions must agree.' error message?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I'm trying to multiply 2 vectors together.
E=r.*H;
And I keep getting the error message 'Matrix dimensions must agree.'.
But, r and H are both listed as '26034x1 double' in the workspace.
So the matrix dimensions are identical for both vectors, but I keep getting this error message.
Anyone have any idea why this is happening?
2 Kommentare
Walter Roberson
am 23 Apr. 2021
Can you save r and H to a file and attach the file for us to test with?
Antworten (1)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!