Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
matrix dimensions must agree error
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
getting matrix dimensions must agree error with this line of code:
k = A.*(p.^2);
1 Kommentar
Sriram Tadavarty
am 20 Apr. 2020
Bearbeitet: Sriram Tadavarty
am 20 Apr. 2020
What are the values of A and p?
Antworten (1)
Sriram Tadavarty
am 20 Apr. 2020
Hi Roslyn,
I assume you provided an incompatible matrix size for the operation to be performed. You can look over this page for more insights of what might went wrong and will solve the issue. https://www.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.html
Hope this helps. Regards, Sriram
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!