when normlize the the output is not between [-1 1]

1 visualización (últimos 30 días)
primrose khaleed
primrose khaleed el 18 de Jun. de 2014
Respondida: Jan Orwat el 18 de Jun. de 2014
hi every body...i want to normlization the this data
m=[541.346587660316;0.441557479492941;-3.68748655477979;-10.7068614130435;-10.7068614130435;-10.7068614130435;-10.7068614130435;-10.7068614130435;-10.7068614130435;-10.7068614130435];
by using
[r,s]=mapminmax(m);
but the output is
5.413465876603160e+02;0.441557479492941;-3.687486554779790;-10.706861413043500;-10.706861413043500;-10.706861413043500;-10.706861413043500;-10.706861413043500;-10.706861413043500;-10.706861413043500
when i read about mapminmax i understand the :the output must be between [-1 1] why my output is more than [-1 1]?? plz help me

Respuesta aceptada

Jan Orwat
Jan Orwat el 18 de Jun. de 2014
Your input is a column vector but mapminmax works on rows.
Try:
[r,s]=mapminmax(m');

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by