HOW TO FIND normalized value of an array?

 Respuesta aceptada

SRI
SRI el 22 de Jul. de 2014

0 votos

A = imread('cameraman.tif');
Anorm = (A - min2(A))/(max2(A) - min2(A));

1 comentario

SRI
SRI el 22 de Jul. de 2014
To normalize a matrix such that all values fall in the range [0, 1] use

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 22 de Jul. de 2014

Comentada:

SRI
el 22 de Jul. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by