collinear

版本 1.0.0.0 (913 字节) 作者: Zoltán Csáti
Determines if points are collinear
229.0 次下载
更新时间 2017/4/29

查看许可证

The points are given as the rows of a matrix and the coordinates of the points as the columns of the matrix. This simple function then determines if the given points lie on a common line or not. Works for any dimension and for any number of points. Instead of using the determinant, the stable rank function is used in the code. The algorithm behind it can be found here:
https://en.wikipedia.org/wiki/Collinearity#Collinearity_of_points_whose_coordinates_are_given

引用格式

Zoltán Csáti (2024). collinear (https://www.mathworks.com/matlabcentral/fileexchange/62737-collinear), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Elementary Polygons 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0