|
From: | Aziz YÜCELEN |
Subject: | Ynt: About "=: nonconformant arguments" |
Date: | Wed, 10 Jul 2019 13:12:04 +0000 |
I am sorry, I forgot function m files
function start_left_circle(center_x,center_y,radius)
th = linspace( pi/2, (3*pi)/2, 100);
R = radius/2; %or whatever radius you want
x = R*cos(th)+center_x;
y = R*sin(th)+center_y;
plot(x,y,'k');
axis equal;
hold on
plot([center_x center_x], [20 -20],'k-.')
hold on
plot([center_x center_x], [center_y center_y],'ko')
hold on
end
function line(x1,y1,x2,y2)
hold on
plot([x1 x2], [y1 y2],'r')
end
function left_circle(center_x,center_y,radius)
th = linspace( pi/2, (3*pi)/2, 100);
R = radius/2; %or whatever radius you want
x = R*cos(th)+center_x;
y = R*sin(th)+center_y;
plot(x,y,'k');
axis equal;
hold on
plot([center_x center_x], [20 -20],'k-.')
hold on
plot([center_x center_x+1], [center_y+R center_y+R],'k-')
hold on
plot([center_x center_x+1], [-(center_y+R) -(center_y+R)],'k-')
hold on
plot([center_x center_x], [center_y center_y],'ko')
hold on
end
function right_circle(center_x,center_y,radius)
th = linspace( (-pi)/2, pi/2, 100);
R = radius/2; %or whatever radius you want
x = R*cos(th)+center_x;
y = R*sin(th)+center_y;
plot(x,y,'k');
axis equal;
hold on
plot([center_x center_x], [20 -20],'k-.')
hold on
plot([center_x center_x-1], [center_y+R center_y+R],'k-')
hold on
plot([center_x center_x-1], [-(center_y+R) -(center_y+R)],'k-')
hold on
plot([center_x center_x], [center_y center_y],'ko')
hold on
endGönderen: Doug Stewart <address@hidden>
Gönderildi: 10 Temmuz 2019 Çarşamba 15:58 Kime: Aziz YÜCELEN Bilgi: address@hidden Konu: Re: About "=: nonconformant arguments" On Wed, Jul 10, 2019 at 8:33 AM Aziz YÜCELEN <address@hidden> wrote:
I can't run it because i don't have a
start_left_circle(center_x,center_y,radius) !!!
|
[Prev in Thread] | Current Thread | [Next in Thread] |