Normalization of matrix using matlab

1 vue (au cours des 30 derniers jours)
ala alemaryeen
ala alemaryeen le 6 Nov 2013
How i could normalize a matrix 51*51, so its max value becomes 1?

Réponses (1)

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

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by