Borrar filtros
Borrar filtros

Error using - Matrix dimensions must agree.

3 visualizaciones (últimos 30 días)
MAT NIZAM UTI
MAT NIZAM UTI el 9 de Dic. de 2021
Respondida: Shravan Kumar Vankaramoni el 15 de Dic. de 2021
z=(z - MIN)./(MAX - MIN);
When I run this code, there will always error
Error using -
Matrix dimensions must agree.
  1 comentario
KSSV
KSSV el 9 de Dic. de 2021
Check the dimensions of each variable...they should be compatible for substraction and element by division.

Iniciar sesión para comentar.

Respuestas (1)

Shravan Kumar Vankaramoni
Shravan Kumar Vankaramoni el 15 de Dic. de 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.

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by