prediction using genetic algorithm
7 views (last 30 days)
Alan Weiss on 11 Aug 2021
Perhaps you are looking at fitting a parameterized model to data using the genetic algorithm. You can follow the Nonlinear Data-Fitting example, using ga instead of fminunc as the minimizer. But you would almost certainly be better off using lsqcurvefit or lsqnonlin for this type of fitting.
MATLAB mathematical toolbox documentation