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

1 回表示 (過去 30 日間)
primrose khaleed
primrose khaleed 2014 年 6 月 18 日
回答済み: Jan Orwat 2014 年 6 月 18 日
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

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by