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(:));

カテゴリ

製品

タグ

質問済み:

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