Effacer les filtres
Effacer les filtres

Choose one of two signals in simulink only with standard logic

2 vues (au cours des 30 derniers jours)
Marc Gebhardt
Marc Gebhardt le 11 Déc 2017
Réponse apportée : Birdman le 11 Déc 2017
Hi guys,
i want to create a simple logic which chooses one of two continuous signals. For example I have one sine source (signal 1) and one step generator (signal 2). The decision is done by one boolean value which is one/true (then output=signal1) or zero/false (output=signal2). How can I implement this logic only with standard blocks like and, or, comparator etc.?
Regards Marc
  2 commentaires
Birdman
Birdman le 11 Déc 2017
Are you allowed to use a switch block?
Marc Gebhardt
Marc Gebhardt le 11 Déc 2017
No.

Connectez-vous pour commenter.

Réponses (1)

Birdman
Birdman le 11 Déc 2017
See the attached model and let me know the results.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by