Error using - Matrix dimensions must agree.
조회 수: 2 (최근 30일)
이전 댓글 표시
z=(z - MIN)./(MAX - MIN);
When I run this code, there will always error
Error using -
Matrix dimensions must agree.
댓글 수: 1
KSSV
2021년 12월 9일
Check the dimensions of each variable...they should be compatible for substraction and element by division.
답변 (1개)
Shravan Kumar Vankaramoni
2021년 12월 15일
Hi,
There is a mismatch in the matrix dimensions you are using in that equation.
Refere the below links to understand on that:
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!