source:
liacs/nc/low-correlation/randint.m@
41
Last change on this file since 41 was 38, checked in by , 15 years ago | |
---|---|
File size: 204 bytes |
Rev | Line | |
---|---|---|
[38] | 1 | % Simulated Annealing low-autocorrelation program |
2 | % BSDLicence | |
3 | % Rick van der Zwet - 0433373 - <hvdzwet@liacs.nl> | |
4 | ||
5 | function number = randint(low,high) | |
6 | number = round(rand() * (high - low)) + low; | |
7 | end |
Note:
See TracBrowser
for help on using the repository browser.