2D minimal bounding box
Version 1.1.0.0 (1.95 KB) by
julien diener
Compute quickly the minimal bounding box of a set of 2D points
Compute the minimal bounding box of a set of 2D points, similarly to the "Minimal Bounding Rectangle" of John D'Errico.
However:
- The algorithm is fully vectorized (matlab implementation, no for loop). Thus it is better for big set of points
- It computes only the minimum area rectangle, not the minimum perimeter
Cite As
julien diener (2026). 2D minimal bounding box (https://uk.mathworks.com/matlabcentral/fileexchange/31126-2d-minimal-bounding-box), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Computational Geometry in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Automatic calculation of beam deflection, Protein Array Tool
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
