Re: [Scilab-users] PID controller, howto write this as S parameters?

2013-12-13 Thread Thiago Costa
Hello Cedric, You can implement it as a sum of terms U(s) = E(s)kc + E(s)/tis + tdsE(s) as depicted in the attached file. []'s Thiago C. -- Department of Chemical Systems Engineering School of Chemical Engineering University of Campinas (UNICAMP) 2013/12/13 cedric.dew...@telfort.nl : > Hi All

[Scilab-users] PID controller, howto write this as S parameters?

2013-12-13 Thread cedric.dew...@telfort.nl
Hi All, I'm using xcos. I am trying to describe a PID controller as S parameters. So I want to make 3 CLR blocks. One for the P action, One for D and one for I. So I start Xcos, choose continuous time system, and then 3 CLR blocks. For the P=2 I set Numerator = "2" and Denominator = "1" (Without q

Re: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT

2013-12-13 Thread Paul Bignier
Nice catch Dirk. In Scilab's latest nightly build , use bode's "rad" option to convert the frequency in rad/s. => clear; clc; s = poly(0, "s"); N = 1; D = (s+1); TF = syslin("c", N/D); bode(TF, "

Re: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT

2013-12-13 Thread Dirk Reusch
Hi Vijay, the frequency unit in scilab's bode plot is [Hz] and not [rad/s]! Regards, Dirk On Thu, 12 Dec 2013 20:04:25 -0600 Vijay Gopal wrote: > Hi, > > I am a scilab user and I find it amazing about its capabilities. > Recently I have encountered a problem for BODE PLOT for Linear > System

Re: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT

2013-12-13 Thread Paul Bignier
Hi, If it is any help, I broke down bode.sci's code to the job it really does. Example1.sce then comes down to (for the magnitude): clear; clc; s = poly(0, "s"); N = 1; D = (s+1); TF = syslin("c", N/D); // bode(TF) [frq, repf] = repfreq(TF, 1d-3, 1d3); [phi,

Re: [Scilab-users] command Scilab/Matlab

2013-12-13 Thread Paul Bignier
Hi, To open a mesagebox asking for the file name: indata=x_dialog("input filename", "default name"); Help page for x_dialog: http://help.scilab.org/docs/5.4.1/en_US/x_dialog.html Then look for SIVP toolbox in ATOMS for imread(). Regard

Re: [Scilab-users] command Scilab/Matlab

2013-12-13 Thread Dang, Christophe
Hello, > De : daniel souza > Envoyé : vendredi 13 décembre 2013 02:27 > > indata=inputdlg({'input filename'}); > a = imread(indata{1}); > > How can I write these lines in scilab? I don't know much Mtlab, but from its documentation http://www.mathworks.fr/fr/help/matlab/ref/imread.html it seems