how to normalize a dataset where the maximum value or the original dataset needs to be the lowest value of the normalized dataset

조회 수: 2 (최근 30일)
I this dataset which is the original one:
X=80:1:150
Nevertheless, I need to normalize the data or rescale it for the lowerbound to be 0.95 while the upperbound or the original dataset needs to be 0.85. The values in between need to be intermediate values between 0.95-0.85

답변 (1개)

KSSV
KSSV 2023년 5월 25일
X=80:1:150 ;
R = rescale(X,0.85,0.95) ;

카테고리

Help CenterFile Exchange에서 Parallel Computing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by