Plotting a x,y graph with complex numbers

Plotting a x,y graph with complex numbers - Messages

#1 Posted: 7/6/2023 4:42:28 PM
Lee Curtis Snook

Lee Curtis Snook

0 likes in 13 posts.

Group: User

I create a matrix and enter the values manually, it plots as expected.
I create a matrix with complex entries, it doesn't plot (not surprised).
If I separate the real and imaginary parts I end up with two single column
matrices which I would then have to concatenate into one matrix for plotting.
How do I do this or is there a better way?

Eulers Eqation 3 7-6-23.sm (19 KiB) downloaded 37 time(s).
#2 Posted: 7/7/2023 1:32:38 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

... I would then have to concatenate into one matrix for plotting. ...


Hi Lee. The functions for concatenating matrices are augment and stack. For your plot you can try this

Clipboard01.png

Best regards.
Alvaro.
  • New Posts New Posts
  • No New Posts No New Posts