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

Antworten (2)

Image Analyst
Image Analyst am 3 Apr. 2016

0 Stimmen

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 Kommentare

sara
sara am 3 Apr. 2016
Bearbeitet: sara am 3 Apr. 2016
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
sara
sara am 3 Apr. 2016
dear Image Analyst do you have any idea for intersection of this circle? thanks
Image Analyst
Image Analyst am 3 Apr. 2016
Try calling rectangle again with a smaller radius, so you'd have two of them.
sara
sara am 3 Apr. 2016
thanks. this work true :)
Is there any way to fill out of the circle? like below?

Melden Sie sich an, um zu kommentieren.

Paul
Paul am 24 Dez. 2024

0 Stimmen

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];
●

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Apr. 2016

Beantwortet:

am 24 Dez. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by