source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/MultiCamSelfCal/MartinecPajdla/utils/combfirst.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 263 bytes
Line 
1%combfirst Returns the first combination in order of shifting the least left
2%number to the right.
3%
4%  function com=combfirst(n, k)
5%
6%n and k has the meaning of combination number.
7function com=combfirst(n, k)
8
9com=find(1 == ones(1,k-1));
10com=[com k-1];
11
12return
Note: See TracBrowser for help on using the repository browser.