how to plot imaginary functions with one variable?
이전 댓글 표시
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
2020년 4월 21일
Hi Harsha,
plot(x,real(z),x,imag(z))
grid on
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!