Plotting a x,y graph with complex numbers

Plotting a x,y graph with complex numbers - Messaggi

#1 Pubblicato: 06/07/2023 16:42:28
Lee Curtis Snook

Lee Curtis Snook

0 apprezzamenti in 13 post.

Gruppo: 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,58 KiB) scaricato 1414 volta(e).
#2 Pubblicato: 07/07/2023 13:32:38
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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.
  • Nuovi post
  • Nessun nuovo post