how to plot imaginary functions with one variable?

4 ビュー (過去 30 日間)
Harsha vardhan naidu
Harsha vardhan naidu 2020 年 4 月 21 日
コメント済み: David Goodmanson 2020 年 4 月 21 日
suppose I have a function z which depends on x
z = x ^ 2 + i * x;
i want to plot z with respect to x? how to do that?
  1 件のコメント
David Goodmanson
David Goodmanson 2020 年 4 月 21 日
Hi Harsha,
plot(x,real(z),x,imag(z))
grid on

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by