フィルターのクリア

use of retime with outlires

3 ビュー (過去 30 日間)
giacomo labbri
giacomo labbri 2020 年 6 月 3 日
編集済み: Sean de Wolski 2020 年 6 月 3 日
Hi,
I am using retime with the mean method to get a every minute temperature from a every second temperature time series. The problem is that the initial time series has some outliers (that are marked with -999). I would like to be able to ignore them without deleting the corresponding line. Is there and option to give to retime that does that?
More details:
Basically if a ina given 60 second there are a few outlires (ideally lower then a threshold) I would like to have in the correponding minute just the mean calculated without the outlires and if in a given 60 second there are only outlires (or ideally a number of outlires higher then a threshold) I would like to have an outlyer in the corresponding minute
Thanks in adance,
Giacomo

採用された回答

Sean de Wolski
Sean de Wolski 2020 年 6 月 3 日
編集済み: Sean de Wolski 2020 年 6 月 3 日
Use standardizeMissing() on the data set first with -999 as the indicator. Then you could either use fillmissing or rmmissing to deal with them.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTrigonometry についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by