필터 지우기
필터 지우기

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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by