Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Image processing (circle using MATLAB)

Status
Not open for further replies.

flora

Junior Member level 1
Joined
Aug 17, 2006
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,369
image processing circle

Hai friends
Can we able to draw a circle using matlab with (x,y) as center.
Kindly reply me
Thanks
 

matlab plot circle on image

Xc= 2; %Center for x
Yc = 3; %Center for y
R = 2; %This is the radius
x=0:0.01:1; %x vector
y=0:0.01:1; %y vector

plot(Xc+R*cos(2*pi*x),Yc+R*sin(2*pi*y));%the circle plot
grid
 

    flora

    Points: 2
    Helpful Answer Positive Rating
matlab circle image processing

Xc= 2; %Center for x
Yc = 3; %Center for y
R = 2; %This is the radius
x=0:0.01:1; %degree

plot(Xc+R*cos(2*pi*x),Yc+R*sin(2*pi*x));%the circle plot
grid
 

how to plots a circle i matlab

Hi Friends
Thank U very much for ur reply.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top