Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
Max Behr
Max Behr el 9 de Mayo de 2019
Comentada: KSSV el 9 de Mayo de 2019
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 comentarios
Jan
Jan el 9 de Mayo de 2019
Editada: Jan el 9 de Mayo de 2019
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 el 9 de Mayo de 2019
If the ourliers are identified......replace them with NaN's and use fillmissing.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by