MATLAB Answers

how to get coordinates of a marker

12 views (last 30 days)
Habtamu Tesfaw
Habtamu Tesfaw on 25 Jun 2020
Commented: Habtamu Tesfaw on 25 Jun 2020
How can I get the x and y coordinates of the points on the circle. the center of the circle is at (346,278). I ploted the circle using the following command.
Thank you for your help
Habtamu Tesfaw
Habtamu Tesfaw on 25 Jun 2020
this one is the ceneter of the circle. I want the coordinate values on the circle. The circle is not ploted using inhand data. the circle can be ploted using 'marker size' command of matlab, given its center.

Sign in to comment.

Accepted Answer

KSSV on 25 Jun 2020
You can plot your required circle given center and radius using the below method.
C = [346 278] ; % Center of the circle
R = 0.5 ; % Radius
th = linspace(0,2*pi) ;
x = C(1)+R*cos(th) ;
y = C(2)+R*sin(th) ;

More Answers (0)

Community Treasure Hunt

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

Start Hunting!