Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Mapminmax with specific min/max

조회 수: 1 (최근 30일)
MaHa
MaHa 2020년 11월 13일
마감: MaHa 2020년 11월 16일
Hi,
I would like to apply mapminmax but also to force the max value to be something (The 99th percentile rather than the real max value) because I have some extreme value but they are not wrong outliers.
Right now I am doing :
[input1,PS1] = mapminmax(A',0,1);
But, it will take the min and max from A, while I would like the function to use the min and 99th percentile from A, which I get from :
A99 = prctile(A,99);
I am not sure if I can apply mapminmax with the data above 99th removed, then apply the "reverse" of the function on the full dataset (with the last %, that will be returned above 1).
  댓글 수: 1
MaHa
MaHa 2020년 11월 16일
Well if someone in the future meets the same problem, I answered myself

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by