% Simulated Annealing low-autocorrelation program % BSDLicence % Rick van der Zwet - 0433373 - % $Id: mutation.m 43 2009-12-17 22:18:48Z rick $ function new = mutation(old) loc = randint(1,length(old)); old(loc) = old(loc) * -1; new = old; end