createStarVertices
xy = createStarVertices(nrays)
Creates vertices of a star with nrays number of rays. xy is an mx2 matrix of (x,y) vertices.
[xy, h] = createStarVertices(ax, nrays)
Plots the star on axes ax as a patch object.
createStarVertices(__,nrays, center, diameters, orientation)
Specifies the position of the star (center = [x,y]), the size (diameters = [inner, outer]), and the orientation (degrees rotation).
Citar como
Adam Danz (2024). createStarVertices (https://www.mathworks.com/matlabcentral/fileexchange/89331-createstarvertices), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.