How to generate a stair wave based on the input?

3 views (last 30 days)
My input is various sampling rates . I've to generate stairxase wave based on the sampling rates,also how do i give all rates as a input and get a stair wave accordingly. Thanks in advance!
  11 Comments
Bhargavi G S
Bhargavi G S on 22 Feb 2018
Can you please give a brief description of the workflow that you are following?
We are trying to model LRUs and pass all the parameters with different sample times of the LRUs to the RDC
Aveek Podder
Aveek Podder on 23 Feb 2018
You can use a Counter for generating a staircase wave. The Counter has a reset input which you can use to reset the Counter.
For more information on Counter please have a look at the following link: https://www.mathworks.com/help/dsp/ref/counter.html

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!