collinear

Determines if points are collinear
229 descargas
Actualizado 29 abr 2017

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Elementary Polygons en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0