when normlize the the output is not between [-1 1]
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Jan Orwat
2014-6-18
Your input is a column vector but mapminmax works on rows.
Try:
[r,s]=mapminmax(m');
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!