Error using - Matrix dimensions must agree.

8 vues (au cours des 30 derniers jours)
MAT NIZAM UTI
MAT NIZAM UTI le 9 Déc 2021
z=(z - MIN)./(MAX - MIN);
When I run this code, there will always error
Error using -
Matrix dimensions must agree.
  1 commentaire
KSSV
KSSV le 9 Déc 2021
Check the dimensions of each variable...they should be compatible for substraction and element by division.

Connectez-vous pour commenter.

Réponses (1)

Shravan Kumar Vankaramoni
Shravan Kumar Vankaramoni le 15 Déc 2021
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.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by