how to plot imaginary functions with one variable?
Mostrar comentarios más antiguos
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 comentario
David Goodmanson
el 21 de Abr. de 2020
Hi Harsha,
plot(x,real(z),x,imag(z))
grid on
Respuestas (0)
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!