iscoplanar.m
Tests input points for coplanarity in N-dimensional space; optionally returns the rank of the input matrix.
SYNTAX:
COPL = iscoplanar(V)
(V is an M X N matrix of of vectors).
COPL = iscoplanar(V, TOLERANCE)
...Optionally, provide a scalar value of
TOLERANCE.
COPL = iscoplanar(X,Y,Z)
"Shortcut syntax" for testing coplanarity
in 3-space;
COPL = iscoplanar(X,Y,Z,TOLERANCE)
[COPL, RNK] = ...
Optionally, return the rank, RNK, of the
input matrix.
Cite As
Brett Shoelson (2024). iscoplanar.m (https://www.mathworks.com/matlabcentral/fileexchange/46-iscoplanar-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Morphological Operations >
Tags
Acknowledgements
Inspired: geom3d
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.1.0.0 | This is a complete (much-improved) rewrite of my previous |iscoplanar| function. This version considers the rank of the input matrix relative to the dimensionality of its space. |
||
1.0.0.0 | Fixes omission of absolute value in comparison with tolerance. Also, now uses determinants; new version is approximately 10x faster. |