split a pulse train into two outputs in simulink

2 vues (au cours des 30 derniers jours)
shalu vijay
shalu vijay le 20 Oct 2021
Modifié(e) : Jonas le 20 Oct 2021
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

Réponses (1)

Jonas
Jonas le 20 Oct 2021
Modifié(e) : Jonas le 20 Oct 2021
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by