[scilab-Users] Different results while using scilab 4.1.2 and 5.3

Adrien Vogt-Schilb vogt at centre-cired.fr
Thu Jul 12 00:17:57 CEST 2012


Hi

In 4.1, this line:

y=csim('step',t,H);

executes quietly.

In Sci 5.3, it produces a warning: "the direct action is set to 0" (or 
similar, in my locale the message is displayed in french)

I guess your problem has something to do with this.




On 11/07/2012 16:27, Marcin Walczak wrote:
> Hi
>
> I was using scilab 4.1.2 and lately I've decided to change it to version 5.3. When I was testing the newer scilab 5.3 I noticed that there are some differences between results from the older version. I don't know what is the reason of such behaviour. I'm sending you a picture with curves (look at the values on the left) and the code so you could see it on your own. I would be glad if you could help me with solving this problem
>
> I'm looking foward for your reply
>
> Martin
>
>
> s=poly(0,'s');  
> Uo=6;
> Da=0.5;
> Go=1/15;
> L=0.00009;
> Rl=0.05;
> C=0.0004;
> Rc=0.1;     
> Rt=0.2;      
> Rd=0.07
>
> Rz=Rl+Rt*Da+Rd*(1-Da);
> Cz=C*(1+Rc*Go);A0=Uo*Rz;
> A1=Uo*(L+C*Rc*Rz);
> A2=Uo*L*C*Rc;
> B0=1+Rz*Go;
> B1=L*Go+C*Rc+Rz*Cz;
> B2=L*Cz;
>
> H=syslin('c',-(A2*s^2+A1*s+A0)/(B2*s^2+B1*s+B0));   
>
> t=[0:0.000001:0.005];
> y=csim('step',t,H);
> plot(t,y)
>
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120712/c2eaa2e3/attachment.htm>


More information about the users mailing list