Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
matrix dimensions must agree error
조회 수: 2 (최근 30일)
이전 댓글 표시
getting matrix dimensions must agree error with this line of code:
k = A.*(p.^2);
댓글 수: 1
답변 (1개)
Sriram Tadavarty
2020년 4월 20일
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!