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

1 view (last 30 days)
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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!