Time-series data
古いコメントを表示
Hi everybody,
I have a set of time series data and I have to check if the average values are within the range for a certain amount of time (for example if the parameter X is in the range for 2 minutes).
Is there a matlab function that allows me to do that?
Thank you for your time!
4 件のコメント
Bob Thompson
2019 年 2 月 20 日
mean() will calculate an average for you.
You can use an if statement to determine if the values is within a certain range.
if average > 1 & average <= 3;
George1990
2019 年 2 月 20 日
Bob Thompson
2019 年 2 月 20 日
Are you saying you want a series of mean values, similar to an RMS? Or are you looking for a running average?
George1990
2019 年 2 月 20 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Time Series についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!