Error using - Matrix dimensions must agree.
8 次查看(过去 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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!