Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
matrix dimensions must agree error
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
getting matrix dimensions must agree error with this line of code:
k = A.*(p.^2);
1 comentario
Sriram Tadavarty
el 20 de Abr. de 2020
Editada: Sriram Tadavarty
el 20 de Abr. de 2020
What are the values of A and p?
Respuestas (1)
Sriram Tadavarty
el 20 de Abr. de 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 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!