From: Youssef on 10 Nov 2009 11:40 Hi I'm using 'gamultiobj' and i want to vary the crossover from 0 to 1. For each crossover I want to have the gaplotpareto plot. How can i do this. Here is a part of my code for n=0:0.1:1 options = gaoptimset(options,'CrossoverFraction', n); [x,fval,exitflag,output,population,score] = gamultiobj(@f_OBJ_GA,NB_SENSOR+NB_LPATH,[],[],[],[],[],[],options); end Thank you Best regards
|
Pages: 1 Prev: Video\Image Processing Blockset Next: how to vectorize "sum if" |