source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/MultiCamSelfCal/MartinecPajdla/utils/random_int.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 160 bytes |
Line | |
---|---|
1 | %random_int Returns random integer is specified range. |
2 | % |
3 | % y = random_int(from, to) |
4 | |
5 | function y = random_int(from, to) |
6 | |
7 | y = floor(from + (1 + to - from)*rand); |
Note: See TracBrowser
for help on using the repository browser.