Last change
on this file since 53 was 43, checked in by Rick van der Zwet, 15 years ago |
I mean keywords ;-)
|
-
Property svn:keywords
set to
Id
|
File size:
243 bytes
|
Rev | Line | |
---|
[38] | 1 | % Simulated Annealing low-autocorrelation program
|
---|
| 2 | % BSDLicence
|
---|
| 3 | % Rick van der Zwet - 0433373 - <hvdzwet@liacs.nl>
|
---|
[42] | 4 | % $Id: initseq.m 43 2009-12-17 22:18:48Z rick $
|
---|
[38] | 5 |
|
---|
| 6 | function s = initseq(n)
|
---|
[42] | 7 | % Generate a random column s={-1,1}^n
|
---|
| 8 | s = rand(n,1);
|
---|
| 9 | s = round(s);
|
---|
| 10 | s = s - (s == 0);
|
---|
[38] | 11 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.