iado: 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
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 +,
First, 'bode' is going to give you a Bode plot, and it's going to be
insistent on giving it to you in log-log format -- so if you want a
plot on a linear frequency axis from -pi to +pi, then you need to do it
by hand.
Second, 'bode' is pretty insistent about reporting things as per second
-- if
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
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')