Normalization of matrix using matlab

How i could normalize a matrix 51*51, so its max value becomes 1?

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2013년 11월 6일

0 개 추천

A = randi(150,51);
out = A/max(A(:));

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

태그

질문:

2013년 11월 6일

답변:

2013년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by