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.

 Accepted Answer

Matt J
Matt J on 28 Feb 2014
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.

More Answers (0)

Categories

Asked:

on 28 Feb 2014

Commented:

on 28 Feb 2014

Community Treasure Hunt

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

Start Hunting!