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

Serge Steer Serge.Steer at inria.fr
Sat Feb 25 20:38:11 CET 2017


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.
>
>
> 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
> http://lists.scilab.org/mailman/listinfo/users


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


More information about the users mailing list