Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 20 Juil 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 commentaires

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by