iscoplanar.m

版本 1.1.0.0 (1.7 KB) 作者: Brett Shoelson
Tests input points for coplanarity in 3-space.
3.0K 次下载
更新时间 2014/11/10

查看许可证

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.

引用格式

Brett Shoelson (2024). iscoplanar.m (https://www.mathworks.com/matlabcentral/fileexchange/46-iscoplanar-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

启发作品: geom3d

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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.