[Scilab-users] Bode of discret time transfer function.

Pablo Fonovich Pablo_F_7 at hotmail.com
Wed Mar 1 19:17:05 CET 2017


Thanks a lot!


________________________________
De: users <users-bounces at lists.scilab.org> en nombre de Serge Steer <Serge.Steer at inria.fr>
Enviado: sábado, 25 de febrero de 2017 04:38 p.m.
Para: users at 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 at 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 at lists.scilab.org<mailto:users at lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170301/d9a1e844/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001.png
Type: image/png
Size: 32789 bytes
Desc: ATT00001.png
URL: <https://lists.scilab.org/pipermail/users/attachments/20170301/d9a1e844/attachment.png>


More information about the users mailing list