plot_square
Version 1.0.0.0 (2.01 KB) by
Alister Fong
Produces coordinates of a square for matrix usage.
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.
Cite As
Alister Fong (2026). plot_square (https://uk.mathworks.com/matlabcentral/fileexchange/4298-plot_square), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
