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

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


I was implementing a digital reverberation for a class, and i wanted to show that it was indeed a comb filter.. Thanks all of you! you helped me a lot.


________________________________
De: users <users-bounces at lists.scilab.org> en nombre de Tim Wescott <tim at wescottdesign.com>
Enviado: sábado, 25 de febrero de 2017 06:57 p.m.
Para: Users mailing list for Scilab
Asunto: Re: [Scilab-users] Bode of discret time transfer function.

Not sure what you're trying to achieve, but if you want a plot of the
linear amplitude response on a linear frequency line, use Horner:

H = syslin('d', (%z - 0.9) / (%z - 99));
th = %pi * (-1:0.01:1)';
clf; plot2d(th, abs(horner(H, exp(%i * th)))); xgrid(2)

On Sat, 2017-02-25 at 18:17 +0000, Pablo Fonovich wrote:
> 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.
>
> Any hints would be appreciated.
> Thanks
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
users Info Page - Scilab<http://lists.scilab.org/mailman/listinfo/users>
lists.scilab.org
The place to ask (and answer) questions on using Scilab. To see the collection of prior postings to the list, visit the users archives.


--

Tim Wescott
www.wescottdesign.com<http://www.wescottdesign.com>
Wescott Design Services<http://www.wescottdesign.com/>
www.wescottdesign.com
Wescott Design Services Located in the foothills of the northern Oregon Cascades, Wescott Design Services is ready to use its proven expertise in systems design ...


Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
users Info Page - Scilab<http://lists.scilab.org/mailman/listinfo/users>
lists.scilab.org
The place to ask (and answer) questions on using Scilab. To see the collection of prior postings to the list, visit the users archives.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170301/dd840793/attachment.htm>


More information about the users mailing list