source:
liacs/NC2010/low-correlation/randint.m@
316
Last change on this file since 316 was 43, checked in by , 15 years ago | |
---|---|
|
|
File size: 209 bytes |
Line | |
---|---|
1 | % Simulated Annealing low-autocorrelation program |
2 | % BSDLicence |
3 | % Rick van der Zwet - 0433373 - <hvdzwet@liacs.nl> |
4 | % $Id: randint.m 43 2009-12-17 22:18:48Z rick $ |
5 | |
6 | function number = randint(low,high) |
7 | number = round(rand() * (high - low)) + low; |
8 | end |
Note:
See TracBrowser
for help on using the repository browser.