collinear

Determines if points are collinear

이 제출물을 팔로우합니다

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 (2026). collinear (https://kr.mathworks.com/matlabcentral/fileexchange/62737-collinear), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Polygonal Shapes에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0