0% found this document useful (0 votes)
29 views2 pages

Num (1 1) Den (1 1.2 1) Step (Num, Den) Grid

The document contains code to model and simulate the step response of two different systems. The first system reaches a peak amplitude of 1.19, has an overshoot of 19.4%, and settles in 4.88 seconds. The second system takes longer to settle, with a settling time of 12.8 seconds, and continues oscillating beyond 20 seconds without settling fully.

Uploaded by

tyo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Num (1 1) Den (1 1.2 1) Step (Num, Den) Grid

The document contains code to model and simulate the step response of two different systems. The first system reaches a peak amplitude of 1.19, has an overshoot of 19.4%, and settles in 4.88 seconds. The second system takes longer to settle, with a settling time of 12.8 seconds, and continues oscillating beyond 20 seconds without settling fully.

Uploaded by

tyo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

num = [1 1];

den = [1 1.2 1];


step(num,den);
grid

Step Response
1.4

1.2
System: sys
Peak amplitude: 1.19 System: sys
Overshoot (%): 19.4 System: sys
Settling Time (sec): 4.88
At time (sec): 2.54 Final Value: 1
1
System: sys
Rise Time (sec): 1.06

0.8
Amplitude

0.6

0.4

0.2

0
0 1 2 3 4 5 6 7 8 9 10
Time (sec)
num = [0.603 2.405 2.989 1.19];
den = [1.603 3.605 4.989 1.19];
step(num,den);
grid

Step Response
1
System: sys
System: sys
Peak amplitude >= 0.998
Settling Time (sec): 12.8
Overshoot (%): 0
System: sys At time (sec) > 20
0.9 Rise Time (sec): 7.19

0.8

0.7
Amplitude

0.6

0.5

0.4

0 2 4 6 8 10 12 14 16 18 20
Time (sec)

You might also like