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!