Effacer les filtres
Effacer les filtres

How to create step signal that changing over time?

3 vues (au cours des 30 derniers jours)
Muhammad Ulil Azmi
Muhammad Ulil Azmi le 17 Nov 2020
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?

Réponse acceptée

Ameer Hamza
Ameer Hamza le 17 Nov 2020
Ramp block: https://www.mathworks.com/help/simulink/slref/ramp.html is used for such signals.
  5 commentaires
Ameer Hamza
Ameer Hamza le 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.
Muhammad Ulil Azmi
Muhammad Ulil Azmi le 23 Nov 2020
Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by