[scilab-Users] Re: Complex transfer function question - need help :)

Mike Page Mike at Page-One.Waitrose.com
Thu Dec 1 14:52:00 CET 2011


To plot a circle, I would use a parametric form of the equations.  The
following code plots a cirle of radius r centred at (x0, y0).

x0 = 3;
y0 = 2;
theta = -%pi:(%pi/1000):%pi;
r = 1.5;
isoview(0,4,0,4)
x = x0 + r * cos(theta);
y = y0 + r * sin(theta);
plot2d(x,y);

HTH.
Mike.


-----Original Message-----
From: nishnish [mailto:coolnish2k at hotmail.com]
Sent: 01 December 2011 13:22
To: users at lists.scilab.org
Subject: [scilab-Users] Re: Complex transfer function question - need
help :)



A two dimensional complex plane is geometrically identical to a
conventional Cartesian plane, with the y-axis relabeled "i".  That is, your
unit circle is defined by:

(REAL coefficient)^2 + (IMAGINARY coefficient)^2 = 1

which gives the unit circle centered on the origin.  For a circle centered
at point (x1+y1i), you would use:

(REAL coefficient - x1)^2 +(IMAGINARY coefficient - y1)^2 = 1

You would take a similar approach with your transfer function.

Charlie





----------------------------------------------------------------------------
------------------------
Hi !! First of all thank you very much for your reply !
Could you guide me on how to write it in scilab so that i can get the plot ?
Ive been trying for very long but cant seem to be able to write it the way
scilab would accept..
Thanks once again for the reply :)

--
View this message in context:
http://mailinglists.scilab.org/Complex-transfer-function-question-need-help-
tp3551227p3551539.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.




More information about the users mailing list