Normalization of matrix using matlab

1 次查看(过去 30 天)
How i could normalize a matrix 51*51, so its max value becomes 1?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by