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
A = imread('cameraman.tif');
Anorm = (A - min2(A))/(max2(A) - min2(A));

1 个评论

To normalize a matrix such that all values fall in the range [0, 1] use

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by