Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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.

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 20 de Jul. de 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 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by