Clear Filters
Clear Filters

Please how can i create a circle having it's x, y function and also measured coordinates x',y',r? And any information on the residuals will be appreciated

1 view (last 30 days)
I want to create a circle with defined x,y,r, and also measured coordinates of the same circle x',y',r. Then find the residuals.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 20 Jul 2018
%Change the value of x,y and radius r
clc;
clear;
close all;
r=2;
d=2*r;
x=0;y=0; %x,y centre of the circle
x1=x-r;
y1=y-r;
h=rectangle('Position',[x1 y1 d d],'Curvature',[1,1]);
daspect([1,1,1])
  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!