Thanks a lot!

________________________________
De: users <users-boun...@lists.scilab.org> en nombre de Serge Steer 
<serge.st...@inria.fr>
Enviado: sábado, 25 de febrero de 2017 04:38 p.m.
Para: users@lists.scilab.org
Asunto: Re: [Scilab-users] Bode of discret time transfer function.

Le 25/02/2017 à 19:17, Pablo Fonovich a écrit :

Hi:

This is the first time i work with discrete time transfers functions and Scilab.

I want to use bode() for plotting the magnitud and phase response of the 
system, however, i don't understand how to set the frequencies to normalized 
values (-pi, pi).

This is what i'm doing:


s=poly(0,'s')
H=(s^(-2400))/(1-0.5*s^(-2400))
S=syslin('d',H)
bode(S)


i get a warning that frequencies beyond nyquist rate are ignored and the 
resulting plot is attached.

[cid:part1.AF505552.9295B9D5@inria.fr]

In the help, it says that bode parameter could include fmin and fmax in herz, 
but isn't a discrete system response limited to normalized frequencies? And to 
transform the normalized frecuency to herz the sample rate must be used, but i 
don't know how to pass it to the system or something.

S=syslin(dt,H) defines a dynamical system sampled. dt beeing the sampling 
period in second.
If you want the frequency uniis be in rd/s add "rad" as last input argument

Any hints would be appreciated.

Thanks



_______________________________________________
users mailing list
users@lists.scilab.org<mailto:users@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to