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 (none), 14 years ago

Added original make3d

File size: 160 bytes
Line 
1%random_int Returns random integer is specified range.
2%
3%  y = random_int(from, to)
4
5function y = random_int(from, to)
6
7y = floor(from + (1 + to - from)*rand);
Note: See TracBrowser for help on using the repository browser.