how can plot complex data in matlab?

hi all how can I plot abs(z)<.5? I want to have an image like below. it is for abs(z)=2. thanks

Answers (1)

alpha=-pi:0.01:pi
k=.5
x=k*cos(alpha);
y=k*sin(alpha);
fill(x,y,'r')

1 Comment

sara
sara on 3 Apr 2016
Edited: sara on 3 Apr 2016
thanks dear Azzi Abdelmalek. and Is there any way for abs(z)>.5.
for example if I want to got the ROC in below how can I plot this?
I mean that how can I get intersection of regions? can you guide me please?

Sign in to comment.

Asked:

on 2 Apr 2016

Edited:

on 3 Apr 2016

Community Treasure Hunt

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

Start Hunting!