You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function V = ngon(n)%% V = ngon(n)% % rows of V are (x,y) coordinates of vectices of regular unit n-gon%% See also CGRAPH, CEDGE, GRAPH for i= 1:n, V(i,:) = [cos(2*(i-1)*pi/n) sin(2*(i-1)*pi/n)];end