how can plot the region of convergence?

hi all can you guide me how can plot the region of convergence? for example for below image?
thanks

Answers (2)

See the FAQ for how to create and plot circles http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
You can also use fill() or patch() to fill it with color, so you might plot a filled gray one, and then put "hold on" and place a smaller white one on top of it.

4 Comments

thanks dear Image Analyst. I plot this in below.
I don't want to fill this circle. can you guide me how can I fill out of circle? thanks
this is my code:
if true
radius = 5;
centerX = 0;
centerY = 0;
rectangle('Position',[centerX - radius, centerY - radius, radius*2, radius*2],...
'Curvature',[1,1]);
axis square;
end
dear Image Analyst do you have any idea for intersection of this circle? thanks
Try calling rectangle again with a smaller radius, so you'd have two of them.
thanks. this work true :)
Is there any way to fill out of the circle? like below?

Sign in to comment.

Since 2024a, radiusregion looks like a reasonable approach to get started.
For example, suppose the region of convergence is 0.5 < abs(z) < 1.5
h = polaraxes;
r = radiusregion(h,0.5,1.5);
h.RLim = [0 2];

Asked:

on 3 Apr 2016

Answered:

on 24 Dec 2024

Community Treasure Hunt

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

Start Hunting!