Skip to main content
1-Visitor
December 19, 2010
Question

Question about arg() function

  • December 19, 2010
  • 1 reply
  • 6276 views

How do I make so that was the result of the less -pi.

It is necessary for me to build a graph so as I need on this graph show that the function goes to -270 degrees but as soon as mathcad function comes to - 180 degrees mathcad makes leap up and continued to build the graph in the range from pi to 0. here is a screenshot how it looks

http://img152.imageshack.us/img152/3601/mathj.jpg

1 reply

1-Visitor
December 19, 2010

Any chance of providing a worksheet?

Mike

Ilyaa1ien1-VisitorAuthor
1-Visitor
December 19, 2010
19-Tanzanite
December 19, 2010

You could use the angle function instead of the arg function. This is defined over 0 to 2*pi. If the phase goes outside of that range then you need to calculate a vector pf phase values, and then unwrap it.