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@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