1 Star 0 Fork 1

nealliu / rrt_dynamic

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
circle.m 381 Bytes
Copy Edit Raw Blame History
Chahat Deep Singh authored 2017-04-27 05:04 . First Commit
function circle(x,y,r)
%x and y are the coordinates of the center of the circle
%r is the radius of the circle
%0.01 is the angle step, bigger values will draw the circle faster but
%you might notice imperfections (not very smooth)
hold on
for ri=0:r/100:r
ang=0:0.01:2*pi;
xp=ri*cos(ang);
yp=ri*sin(ang);
plot(x+xp,y+yp,'Color',[0 0 1]);
end
plot(x+xp,y+yp,'k');
end
Matlab
1
https://gitee.com/nealliu/rrt_dynamic.git
git@gitee.com:nealliu/rrt_dynamic.git
nealliu
rrt_dynamic
rrt_dynamic
master

Search