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

1 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2022-12-7
What if you assign nan at those locations, and then use fillmissing ?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by