How to plot complex vectors in Mathcad? (Electrical)

Click For Summary

Homework Help Overview

The discussion revolves around plotting complex numbers in the complex plane using Mathcad, specifically focusing on the complex numbers representing capacitive and inductive reactance, as well as resistance.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss how to represent complex numbers as vectors on a graph, questioning the method to plot lines with arrows instead of just points. There is a focus on how to specify the origin in the plotting process.

Discussion Status

Some participants have offered guidance on converting complex numbers into vectors for proper plotting. There is an exploration of different methods to achieve the desired graphical representation, but no consensus has been reached on a single approach.

Contextual Notes

Participants note that Mathcad requires explicit specification of all points on a line trace, which raises questions about how to effectively represent the origin in the plotting process.

EVriderDK
Messages
55
Reaction score
0

Homework Statement



I have to plot the following complex numbers into the complex plane:
X_C=0-1350i
X_L=0+980i
R_L=100+0i
 
Physics news on Phys.org
Plot Re(complex number) in x-axis and Im(complex number) in y-axis
Set the trace type for each value as 'points'
 

Attachments

Thank you! How do i make them vectors on the graph? You know, a line with an arrow.
 
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
 
EVriderDK said:
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

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.
 

Attachments

  • Like
Likes   Reactions: hotrod89
Wow, thank you so much Nemo!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 28 ·
Replies
28
Views
4K