MATLAB Answers

how to get complex plot img and real

2 views (last 30 days)
Priyank Chauhan
Priyank Chauhan on 1 Apr 2021
Commented: Rik on 1 Apr 2021
  2 Comments
Priyank Chauhan
Priyank Chauhan on 1 Apr 2021
how to get plot using this equation see attachment img plot

Sign in to comment.

Answers (1)

KSSV
KSSV on 1 Apr 2021
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 Comments
Rik
Rik on 1 Apr 2021
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.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by