Normalization of matrix using matlab

1 visualización (últimos 30 días)
ala alemaryeen
ala alemaryeen el 6 de Nov. de 2013
Respondida: Andrei Bobrov el 6 de Nov. de 2013
How i could normalize a matrix 51*51, so its max value becomes 1?

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 6 de Nov. de 2013
A = randi(150,51);
out = A/max(A(:));

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by