source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/MultiCamSelfCal/MartinecPajdla/utils/comb.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 98 bytes |
Line | |
---|---|
1 | %returns combination number n over k |
2 | function r = comb(n,k) |
3 | |
4 | r=1; |
5 | for i=1:k |
6 | r=r*(n-i+1)/i; |
7 | end |
8 |
Note: See TracBrowser
for help on using the repository browser.