Prev: video compression matlab code
Next: gradient image...
From: wangy_86 ? on 15 Apr 2010 08:14 When using genetic algorithm (gamultiobj), I want to pass several parameters, that is, lamda_t, lamda_a, aot_t, aot_a, to function 'gaparam'. How to pass them? function y=gaparam(x) y(1)=mae(x(1)*lamda_t.^(-x(2))-aot_t); y(2)=mae(x(3)*lamda_a.^(-x(2))-aot_a); end % Now call gamultiobj: X=gamultiobj(@gaparam,3);
|
Pages: 1 Prev: video compression matlab code Next: gradient image... |