How to create step signal that changing over time?

3 次查看(过去 30 天)
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?

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by