1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: How to plot complex vectors in Mathcad? (Electrical)

  1. May 25, 2012 #1
    1. The problem statement, all variables and given/known data

    I have to plot the following complex numbers into the complex plane:
  2. jcsd
  3. May 28, 2012 #2
    Plot Re(complex number) in x-axis and Im(complex number) in y-axis
    Set the trace type for each value as 'points'

    Attached Files:

  4. May 28, 2012 #3
    Thank you! How do i make them vectors on the graph? You know, a line with an arrow.
  5. May 28, 2012 #4
    It is like the "line" traces does not work?

    I need to tell mathcad that i want a line from 0,0 to X.C
  6. May 28, 2012 #5
    Mathcad plots require that you specify all of the points on a line trace; it doesn't default to the origin. Consequently, you have to convert each of your complex numbers to a vector (with 0 as the first element) and then plot those vectors. Alternatively, you could create a function that takes a complex number, take the real or imaginary part and stacks it with zero - then plot the result directly.

    See the attached worksheet for an example. It also shows how to use Mathcad's Math Style feature.

    Attached Files:

  7. May 28, 2012 #6
    Wow, thank you so much Nemo!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook