HOW TO FIND normalized value of an array?

1 Ansicht (letzte 30 Tage)
ANCY
ANCY am 22 Jul. 2014
Kommentiert: SRI am 22 Jul. 2014
I have 900 elements in an array . How can i find normalized value of that array?

Akzeptierte Antwort

SRI
SRI am 22 Jul. 2014
A = imread('cameraman.tif');
Anorm = (A - min2(A))/(max2(A) - min2(A));
  1 Kommentar
SRI
SRI am 22 Jul. 2014
To normalize a matrix such that all values fall in the range [0, 1] use

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by