Normalization of matrix using matlab

조회 수: 1 (최근 30일)
ala alemaryeen
ala alemaryeen 2013년 11월 6일
답변: Andrei Bobrov 2013년 11월 6일
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