Filter löschen
Filter löschen

How do I show the following condition t>1 with help of for-loop?

1 Ansicht (letzte 30 Tage)
Sergey Dukman
Sergey Dukman am 6 Jul. 2015
I am trying to plot the step response for different values of t. I choose condition when t is bigger than 1. I use the following script: function second_order = transfer_function(num,den) num=[1]; den=[1,2,1]; second_order=tf(num,den) for t=[1.1:0.1:10] step(second_order,t) end Is this written correct? Is there another way to plot step response when t>1?
Sergey

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by