next up previous
Next: Change of variable Up: Dynamical systems Previous: Simulation

Interconnection

-->s=poly(0,'s');
-->h=syslin('c',[1/s,1/(s+1);1/s/(s+1),1/(s+2)/(s+2)]);
-->w=tf2ss(h);
-->w1=[w,w];
-->clean(ss2tf(w1))
 ans  =
!   1           1            1           1         !
!   -         -----          -         -----       !
!   s         1 + s          s         1 + s       !
!                                                  !
!     1           1            1           1       !
!   -----     ---------      -----     ---------   !
!        2              2         2              2 !
!   s + s     4 + 4s + s     s + s     4 + 4s + s  !
-->w2=[w;w];
-->clean(ss2tf(w2))
 ans  =
!   1           1         !
!   -         -----       !
!   s         1 + s       !
!                         !
!     1           1       !
!   -----     ---------   !
!        2              2 !
!   s + s     4 + 4s + s  !
!                         !
!   1           1         !
!   -         -----       !
!   s         1 + s       !
!                         !
!     1           1       !
!   -----     ---------   !
!        2              2 !
!   s + s     4 + 4s + s  !


Scilab group