I need to something like a repeating sequence stair, where the output is [1 0]. I need this to repeat a given number of times, for example, 50. Between that, it will be a time of 0.004.

 Réponse acceptée

Pat Gipper
Pat Gipper le 18 Fév 2021

1 vote

This seems to do the trick.
It produces the following result.

2 commentaires

Conner Carriere
Conner Carriere le 18 Fév 2021
I am newer to Simulink, what is the triangle and that 3 way connector with the in, out, and wave?
Pat Gipper
Pat Gipper le 19 Fév 2021
The triangle is a "gain" element found under Math Operations.
The in,out,wave is an "Enabled Subsystem" found under Ports & Subsystems.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Schedule Model Components dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by