split a pulse train into two outputs in simulink

I have a pulse train with two different amplititudes. Can any one suggest a way to split the pulse train into two seperate pulse train of same amplitude. I want something like this

답변 (1개)

Jonas
Jonas 2021년 10월 20일
편집: Jonas 2021년 10월 20일

0 개 추천

Use Compare To Constant blocks on the input signal and then Logical Operator blocks.
E.g.:
  • signal > 3 AND signal < 4 => first output signal
  • signal > 6 AND signal < 7 => second output signal
And then use this boolean signal to multiply it with the original signal.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2021년 10월 20일

편집:

2021년 10월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by