nCtwo

All combinations of N elements taken two at the time.

이 제출물을 팔로우합니다

Usage - vec=nCtwo(dat) where dat is a vector of length N, produces a matrix with N*(N-1)/2 rows and 2 columns. Each row of the result vec has two of the elements in the vector dat. Similar to the MATLAB function NCHOOSEK(dat,2) but much faster.

인용 양식

Simone Scaringi (2026). nCtwo (https://kr.mathworks.com/matlabcentral/fileexchange/20110-nctwo), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 준 파일: nchoose2, VChooseK

카테고리

Help CenterMATLAB Answers에서 Linear Algebra에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

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