lsqcurvefit x solution as an integer

Hello,
I'm using lsqcurvefit function and i try to find the coefficients x restricted as an integer. Is it possible?
Thanks in advance.

 Réponse acceptée

Matt J
Matt J le 28 Fév 2014

1 vote

No, it's not possible. You could try using GA if you have the Global Optimization Toolbox. Or, you could just exhaustively search all possible values of the parameters if the number of x(i) isn't too large.

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by