• Remix
  • Share
  • New Entry

on 13 Oct 2022
  • 3
  • 27
  • 0
  • 1
  • 141
% Credits for this code go to MATLAB STAFF, specificaly,
% to Mr. "Image Analyst", and Mr. Danz (located on MATLAB File Exchange)
% Fell free to Remix, and improve! :-)
n=30;
r=0;
xC=3;
yC=4;
t=(0:(n-1)/n*pi:(n-1)*pi)+r;
a=3;
x=a.*cos(t+15)+xC;
y=a.*sin(t+15)+yC;
plot(x,y,'r-.','LineWidth',5);
patch(x,y,'y')
axis circle;
Error using axis
Unknown command option circle.
axis off
Remix Tree