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