フィルターのクリア

How to create toggle(signal that goes from zero to one according to peaks) bit from both peaks(max value and min value) of analog signal ?

14 ビュー (過去 30 日間)
Henry Buck
Henry Buck 2016 年 9 月 16 日
回答済み: JuanCa 2016 年 10 月 5 日
Hi, I create kind a sine wave signals(VPx and VPn) as shown if the file PDf attached.
I want to get an logic signal according to that wave signal - for example VPx. That mean every time that the signal(VPx) is reached it's own min value, then toggle bit will goes to one and every time it will reached his max value the toggle bit will change to zero.
Some one can help me to do it ?
Thanks, Henry

回答 (1 件)

JuanCa
JuanCa 2016 年 10 月 5 日
Take the output out of your implementation and connected to two different Interval Test blocks. One for max and one for min. After that you can combine the signals using boolean logic, or basic operations

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by