The attached Matlab routines compute the medial axis of 2-D solids whose boundary is made-up of line segments and circular arcs.
* The attached code is slow.
* There are also a few bugs that we are aware of, and expect to address them; use the code with caution!
* You will need the Matlab optimization toolbox.
Krishnan Suresh (2021). 2-D Medial Axis Computation (https://www.mathworks.com/matlabcentral/fileexchange/12399-2-d-medial-axis-computation), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!