How to create step signal that changing over time?

8 views (last 30 days)
I want to create step signal that changes over time like this:
Time : [0 0.1 0.2 0.3 0.4 0.5]
Signal: [0 1 2 3 4 5]
Is it possible using step block? Or is there another blck more suitable for this?

Accepted Answer

Ameer Hamza
Ameer Hamza on 17 Nov 2020
Ramp block: https://www.mathworks.com/help/simulink/slref/ramp.html is used for such signals.
  5 Comments
Ameer Hamza
Ameer Hamza on 22 Nov 2020
For an arbitrary signal, it is easier to use "From Workspace" block. Define the signal in MATLAB workspace and load it in Simulink.

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!