You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Zoltán Csáti (2026). collinear (https://nl.mathworks.com/matlabcentral/fileexchange/62737-collinear), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (913 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |