HP Forums

Full Version: Plotting complex numbers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, is there a way to plot a function that includes a complex number on a 2-D plane? I have tried searching through the user guide v2 and this forum, but can't seem to find any documentation on it.

For example G(w)=100/(w*i)

I have attached a picture of a wolfram alpha plot below.

Thank you

[attachment=778]
No, unfortunately, to my knowledge, only real functions can be plotted.

That would be a nice addition though, if the imaginary parts could be plotted as well for complex-valued functions . . .
Thank you for the info.
I think you can use the RE() and IM() commands in the Function App like this:

[attachment=779]

to give this plot

[attachment=780]

I think your example only shows imaginary values. Other expressions of interest to plot using RE(), IM() might include:

100/(X*(1+i))
i^X
exp^(i*X)


Thanks for asking this! The Prime seems pretty useful for exploring real, imaginary functions this way.
Awesome this is exactly what i needed! Thank you.
(06-10-2014 11:39 AM)CR Haeger Wrote: [ -> ]I think you can use the RE() and IM() commands in the Function App like this:

Thanks for pointing this out - - that works! I didn't think about IM() because it was somewhat unreliable (together with sqrt) in the previous firmware

http://www.hpmuseum.org/forum/thread-646.html

but that appears to have been fixed in version 6030!
(06-10-2014 11:39 AM)CR Haeger Wrote: [ -> ]I think you can use the RE() and IM() commands in the Function App

That's very nice. And a good example of the importance of having color available.

-wes
Reference URL's