Error using - Matrix dimensions must agree.

z=(z - MIN)./(MAX - MIN);
When I run this code, there will always error
Error using -
Matrix dimensions must agree.

1 Comment

Check the dimensions of each variable...they should be compatible for substraction and element by division.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!