<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"/></head><body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">Dear suhas deshpande,<br />
There is no ready to use function to compute DCgain, but in the regular cases it is quite easy on can use the formulas <br />
D-(C/A)*B for continuuos time state space systems or D+C/(eye(A)-A)*B for discrete time systems<br />
<br />
For continuuous time transfert systems on can use horner(H,0) and for discrete ones horner(H,1)<br />
18.10.2009 22:37 - suhas deshpande a écrit:<br />
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;" type="cite">1) How to calculate DC gain in scilab? matlab command i know is dcgain(system)
<div><br />
<br />
<div>2) When I execute tf2ss(system), the state space matrices are not in standard form, how do i get the matrices in canonical form and companion form<br clear="all" />
<br />
see the canon and cont_frm functions<br />
-- <br />
Suhas Deshpande</div>
</div>
</div>
<br />
<br />
Serge Steer<br />
INRIA<br />
<br /></body></html>