フィルターのクリア

How to remove vertical lines from the graph,produced by matlab????

3 ビュー (過去 30 日間)
RAJAT
RAJAT 2023 年 6 月 5 日
コメント済み: Adam Danz 2023 年 6 月 5 日
  3 件のコメント
Simon Chan
Simon Chan 2023 年 6 月 5 日
I guess the points in the plot are not arranged in a correct order. So it goes from upper to the lower curve and vice versa.
Adam Danz
Adam Danz 2023 年 6 月 5 日
It looks like the polarity of your signal is occasionally flipping. Assuming the signal is initially analog and passing through an analog-to-digital converter, you may be able to fix this for future data by tinkering with the A:D converter or during down the gain of the analog signal.
You can also fix this in post-processing (in MATLAB) if you can asssume that the polarity shouldn't suddenly switch.
The rule you would follow would be that if s(n+1) has a different sign than s(n) and s(n) is not sufficiently near 0, then flip the sign of s(n+1), where s is your signal.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by