How to design a filter to remove every other spike on graph

2 ビュー (過去 30 日間)
Anthony Koning
Anthony Koning 2022 年 12 月 9 日
回答済み: Avinash 2023 年 1 月 13 日
How would I go about designing a filter to remove every other point of discontinuity from a sine wave. Effectively, I'm working on a sine wave comparison which returns to a starting value after the wave has reached a specific point, but it has the drawback of spiking back to the original graph after the required conditions are no longer met. The following is my system as well as the actual and desired results for the system. Thanks for the help.

回答 (1 件)

Avinash
Avinash 2023 年 1 月 13 日
As per my understanding you are trying to get a smooth output wave, but you are having discontinuities in the output wave.
  • You can use a "moving average" block into your Simulink model after the "merge" block to smoothen the output wave.
To learn more about "moving average" block, refer the following link:
Thanks
Avinash

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by