Effacer les filtres
Effacer les filtres

Command, replacing data points at given field indices with the average of the values before and after

3 vues (au cours des 30 derniers jours)
What was the suitable command for replacing data points at given field indices with the average of the values before and after ?
My data are one time vector and multiple parameter vector related to this time vector.
With filloutliers command, I get an index-list of the found outliers based on one the analysis of one parameter and use the same linear filling, onto these other vectors..
Is there a command intended for this task, may be even working together with filloutliers?

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Déc 2022
What if you assign nan at those locations, and then use fillmissing ?

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by