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
KSSV 2021-12-9
Check the dimensions of each variable...they should be compatible for substraction and element by division.

请先登录,再进行评论。

回答(1 个)

Shravan Kumar Vankaramoni
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.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by