Hi, deculpa me the hassle. I gostari to simulate a transfer function in SCILAB 
(as the commands below), but I can not because scilab provides several errors. 
Could you tell me what I should do to get simulate the transfer function.
s=poly(0,'s'); funcprot(0);

num=x_dialog('numerador','s^5*kd+s^4*(60*kd+kp)+s^3*(1500*kd-60*kp+ki)+s^2*(-15000*kd+1500*kp-60*ki)+s*(-15000*kp+1500*ki)-15000*ki')
 
den=x_dialog('denominador','s^5*(kd)+s^4*(-1-60*kd+kp)+s^3*(-1500-60+1500*kd-60*kp+ki)+s^2*(-15000-1500-15000*kd+1500*kp-60*ki)+s*(-15000-15000*kp+1500*ki)-15000*ki')
kp=96.770532;
ki=42.568724 ;
kd=18.711118;


t=0:0.01:100;

numerador=evstr(num);
denominador=evstr(den);
y=csim('step',t,numerador/denominador) I thank you for your attention,


Gledson Melotti.
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to