Azzera filtri
Azzera filtri

How to create step signal that changing over time?

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Ameer Hamza
Ameer Hamza il 17 Nov 2020
Ramp block: https://www.mathworks.com/help/simulink/slref/ramp.html is used for such signals.
  5 Commenti
Ameer Hamza
Ameer Hamza il 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.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by