how to plot imaginary functions with one variable?
Ältere Kommentare anzeigen
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 Kommentar
David Goodmanson
am 21 Apr. 2020
Hi Harsha,
plot(x,real(z),x,imag(z))
grid on
Antworten (0)
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!