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 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
KALYAN ACHARJYA
2018-7-20
%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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!