Plotting a x,y graph with complex numbers

Plotting a x,y graph with complex numbers - 消息

#1 已发布: 2023/7/6 16:42:28
Lee Curtis Snook

Lee Curtis Snook

0个赞,共13个帖子。

组: 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)已下载 1428 次。
#2 已发布: 2023/7/7 13:32:38
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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.
  • 有新帖
  • 无新帖