Вы находитесь на странице: 1из 6

>> G1=tf([1 0 0],[0 1 4])

G1 =

s^2

-----

s+4

Continuous-time transfer function.

>> G2=tf([0 9],[1 3])

G2 =

-----

s+3

Continuous-time transfer function.

>> H1 =tf([1 0],[1 2])

H1 =

-----

s+2

Continuous-time transfer function.


>> H2 = tf([1 0 0],[1 0 1])

H2 =

s^2

-------

s^2 + 1

Continuous-time transfer function.

>> H3 =tf([0 2],[1 4])

H3 =

-----

s+4

Continuous-time transfer function.

>> K = 10

K=

10

>> G1_fb_H3=feedback(G1,H3)
G1_fb_H3 =

s^3 + 4 s^2

----------------

3 s^2 + 8 s + 16

Continuous-time transfer function.

>> G1_fb_H3_serie_G2 =series(G1_fb_H3,G2)

G1_fb_H3_serie_G2 =

9 s^3 + 36 s^2

--------------------------

3 s^3 + 17 s^2 + 40 s + 48

Continuous-time transfer function.

>>

G1_fb_H3_serie_G2_fb=feedback(G1_fb_H3_serie_G2,H2)

G1_fb_H3_serie_G2_fb =

9 s^5 + 36 s^4 + 9 s^3 + 36 s^2

---------------------------------------------

12 s^5 + 53 s^4 + 43 s^3 + 65 s^2 + 40 s + 48

Continuous-time transfer function.


>> G1_fb_H3_serie_G2_fb_H1=feedback(G1_fb_H3_serie_G2_fb,H1)

G1_fb_H3_serie_G2_fb_H1 =

9 s^6 + 54 s^5 + 81 s^4 + 54 s^3 + 72 s^2

------------------------------------------------------

21 s^6 + 113 s^5 + 158 s^4 + 187 s^3 + 170 s^2

+ 128 s + 96

Continuous-time transfer function.

>> F=tf([0 1],[1 0])

F=

Continuous-time transfer function.

>> G1_fb_H3_serie_G2_fb_H1_serie_K = series(G1_fb_H3_serie_G2_fb_H1,K,F)

Error using InputOutputModel/series (line 82)

When using I/O names to connect systems, all I/O names


of all systems must be defined.

>> G1_fb_H3_serie_G2_fb_H1_serieK=series(G1_fb_H3_serie_G2_fb_H1,K)

G1_fb_H3_serie_G2_fb_H1_serieK =

90 s^6 + 540 s^5 + 810 s^4 + 540 s^3 + 720 s^2

-----------------------------------------------------

21 s^6 + 113 s^5 + 158 s^4 + 187 s^3 + 170 s^2

+ 128 s + 96

Continuous-time transfer function.

>> G1_fb_H3_serie_G2_fb_H1_serieK_F =series(G1_fb_H3_serie_G2_fb_H1_serieK,F)

G1_fb_H3_serie_G2_fb_H1_serieK_F =

90 s^6 + 540 s^5 + 810 s^4 + 540 s^3 + 720 s^2

-----------------------------------------------------

21 s^7 + 113 s^6 + 158 s^5 + 187 s^4 + 170 s^3


+ 128 s^2 + 96 s

Continuous-time transfer function.

>> G1_fb_H3_serie_G2_fb_H1_serieK_F_1=feedback(G1_fb_H3_serie_G2_fb_H1_serieK_F,1)

G1_fb_H3_serie_G2_fb_H1_serieK_F_1 =

90 s^6 + 540 s^5 + 810 s^4 + 540 s^3 + 720 s^2

-----------------------------------------------------

21 s^7 + 203 s^6 + 698 s^5 + 997 s^4 + 710 s^3

+ 848 s^2 + 96 s

Continuous-time transfer function.