how to plot imaginary functions with one variable?
Show older comments
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 Comment
David Goodmanson
on 21 Apr 2020
Hi Harsha,
plot(x,real(z),x,imag(z))
grid on
Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!