Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Max Behr
Max Behr le 9 Mai 2019
Commenté : KSSV le 9 Mai 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 commentaires
Jan
Jan le 9 Mai 2019
Modifié(e) : Jan le 9 Mai 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 le 9 Mai 2019
If the ourliers are identified......replace them with NaN's and use fillmissing.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by