Given a center and a radius, this program produces the coordinates of a square whether hollow or solid. This program is especially useful for drawing squares around circles. The result is a set of coordinates that is suitable for use to produce the square shape on a matrix.
引用格式
Alister Fong (2024). plot_square (https://www.mathworks.com/matlabcentral/fileexchange/4298-plot_square), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R12
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |