Results 1 to 3 of 3

Math Help - plot complex function

  1. #1
    Newbie
    Joined
    Dec 2007
    Posts
    4

    plot complex function

    i have a problem that said using computer program. to plot complex number

    w(z)=z-2
    - plot function as real and imaginary parts, ie... plot real part of w as a function of z = x+iy on [x,y] plane and plot the imaginary part in the same way.

    -plot the magnitude and phase of w(z) as a function of z=x+iy on the [x,y] plane.

    thanks for your help.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Global Moderator

    Joined
    Nov 2005
    From
    New York City
    Posts
    10,616
    Thanks
    10
    Quote Originally Posted by linearmath View Post
    i have a problem that said using computer program. to plot complex number

    w(z)=z-2
    - plot function as real and imaginary parts, ie... plot real part of w as a function of z = x+iy on [x,y] plane and plot the imaginary part in the same way.

    -plot the magnitude and phase of w(z) as a function of z=x+iy on the [x,y] plane.

    thanks for your help.
    You can think of w as f(x+iy) = (x+iy) - 2 = (x-2) + i y. Thus, \Re (w) = x-2 and \Im (w) = y. And |w| = \sqrt{(x-2)^2+y^2}.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Dec 2007
    Posts
    4
    as you said,

    which is the magnitude of |w(z)|=sqrt(x^2 + y^2) - 2 and the phase = tan-1(Im/Re)

    as i use mathcad and set it up like below,

    give x = -5,-4.9..5
    y = -5,-4.9..5

    z:= x+iy

    w(z):=z-2

    and I couln't get plot for the imaginary part, the phase and the magnitude

    because of undefined variable i.

    if you have any recommendation of other software, thanks a lot
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Help to plot a complex function in Maple
    Posted in the Calculus Forum
    Replies: 0
    Last Post: April 1st 2011, 01:19 AM
  2. How to plot a complex graph in Maple
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 1st 2011, 01:10 AM
  3. matlab plot function
    Posted in the Math Software Forum
    Replies: 4
    Last Post: May 26th 2010, 08:03 AM
  4. How to Plot a 'sum' function
    Posted in the Math Software Forum
    Replies: 4
    Last Post: May 25th 2009, 01:02 PM
  5. Plot a function
    Posted in the Math Software Forum
    Replies: 2
    Last Post: May 23rd 2009, 01:06 AM

Search Tags


/mathhelpforum @mathhelpforum