Normalization of matrix using matlab

1 view (last 30 days)
ala alemaryeen
ala alemaryeen on 6 Nov 2013
Answered: Andrei Bobrov on 6 Nov 2013
How i could normalize a matrix 51*51, so its max value becomes 1?

Answers (1)

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

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!