% Simulated Annealing low-autocorrelation program % BSDLicence % Rick van der Zwet - 0433373 - function new = mutation(old) loc = randint(1,length(old)); old(loc) = old(loc) * -1; new = old; end