How can I ignore (delete) unwanted peaks of a continious signal?
4 ビュー (過去 30 日間)
古いコメントを表示
Hey, i have a signal with peaks (frequency of them is not constant) and goal is to just go over it in a straigt line. The system is build in simulink and i tryed different filter, but didnt' succed. Any ideas?
It is the curve of the speed of a motor and i would like to get a straigt line (red) instead of an overshoot.
Thanks for your help.
Best regards.
採用された回答
John D'Errico
2024 年 3 月 13 日
Just choose some point where the curve should have settled into its long term nominal state. That should be at or about a time of 25 in your plot.
Next, take the median value of the curve over that interval, here from a time of 25 to the end.
help median
Finally, discard any value ABOVE that median. You can just use min to perform that task. You might even be more aggressive, and choose the 25th percentile of the curve, as perhaps a better estimate of the long term behavior, better insuring you don't get any of those outlier segments at all.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!