how to get complex plot img and real

조회 수: 3 (최근 30일)
Priyank Chauhan
Priyank Chauhan 2021년 4월 1일
댓글: Rik 2021년 4월 1일
  댓글 수: 2
Rik
Rik 2021년 4월 1일
What is your question?
Do you want to know how to write an anonymous? Do you want to know how to extract the real and imaginary components of complex numbers? Do you want to know how to plot data?
Priyank Chauhan
Priyank Chauhan 2021년 4월 1일
how to get plot using this equation see attachment img plot

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2021년 4월 1일
a = rand(10,1)+1i*rand(10,1) ; % complex number for demo
figure
plot(a) ; % this will plot real part vs complex part
The above is simliar to
plot(real(a),imag(a))
  댓글 수: 6
Priyank Chauhan
Priyank Chauhan 2021년 4월 1일
bro my problem is how to get plot using this equation t(z) = z+1+2i , t(0) = 1+2i, t(2) = 3+2i, t(i) = 1+3i, t(2+i) = 3+3i.
Rik
Rik 2021년 4월 1일
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-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