필터 지우기
필터 지우기

How to find a super high or low value and normalize it?

조회 수: 3 (최근 30일)
Max Behr
Max Behr 2019년 5월 9일
댓글: KSSV 2019년 5월 9일
Hello,
I am trying to normalize a series of values.
value=
60 65 70 71 70 2 70 1000 4
in this case the following values are unrealistic and too high:
value(1,6)
value(1,8)
value(1,9)
By an if command you can find the high and low values. But how can you replace them by taking e.g. the average of 3 values before and 3 values after?
Is there an easy solution for this problem?
  댓글 수: 2
Jan
Jan 2019년 5월 9일
편집: Jan 2019년 5월 9일
Which kind of "if command" do you use for finding the outliers?
How do you want the filling to work, if several neighboring elements are invalid?
Does fillgaps solve the problem already?
KSSV
KSSV 2019년 5월 9일
If the ourliers are identified......replace them with NaN's and use fillmissing.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by