Modern Control Engineering

(Chris Devlin) #1
aa

188 Chapter 5 / Transient and Steady-State Response Analyses

Step-Response Plots: Input =u2 (u 1 = 0)

Time (sec)

Amplitude

01234567 8910

1.6

1.2

0.8

0.4

0

–0.2

1.4

1

0.6

0.2

Y2

Y1

(b)

Step-Response Plots: Input =u1 (u 2 = 0)
2

1.5

1

0.5

0

–0.5
012345678910
Time (sec)

Amplitude

Y2

Y1

(a)

Figure 5–19
Unit-step response
curves. (a)u 1 is the
inputAu 2 =0B; (b)u 2
is the input Au 1 =0B.

Writing Text on the Graphics Screen. To write text on the graphics screen, enter,


for example, the following statements:


text(3.4, -0.06,'Y1')


and


text(3.4,1.4,'Y2')


The first statement tells the computer to write ‘Y1’ beginning at the coordinates x=3.4,


y=–0.06. Similarly, the second statement tells the computer to write ‘Y2’ beginning at


the coordinates x=3.4, y=1.4. [See MATLAB Program 5–2 and Figure 5–19(a).]


Openmirrors.com

Free download pdf