MATLAB Answers

Need help with simple Simulink

22 views (last 30 days)
Conner Carriere
Conner Carriere on 18 Feb 2021
Commented: Pat Gipper on 19 Feb 2021
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.

Accepted Answer

Pat Gipper
Pat Gipper on 18 Feb 2021
This seems to do the trick.
It produces the following result.
  2 Comments
Pat Gipper
Pat Gipper on 19 Feb 2021
The triangle is a "gain" element found under Math Operations.
The in,out,wave is an "Enabled Subsystem" found under Ports & Subsystems.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!