HOW TO FIND normalized value of an array?

I have 900 elements in an array . How can i find normalized value of that array?

 採用された回答

SRI
SRI 2014 年 7 月 22 日

0 投票

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 件)

質問済み:

2014 年 7 月 22 日

コメント済み:

SRI
2014 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by