HOW TO FIND normalized value of an array?

1 回表示 (過去 30 日間)
ANCY
ANCY 2014 年 7 月 22 日
コメント済み: SRI 2014 年 7 月 22 日
I have 900 elements in an array . How can i find normalized value of that array?

採用された回答

SRI
SRI 2014 年 7 月 22 日
A = imread('cameraman.tif');
Anorm = (A - min2(A))/(max2(A) - min2(A));
  1 件のコメント
SRI
SRI 2014 年 7 月 22 日
To normalize a matrix such that all values fall in the range [0, 1] use

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by