lsqcurvefit x solution as an integer

5 views (last 30 days)
scarzo
scarzo on 28 Feb 2014
Commented: scarzo on 28 Feb 2014
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)

Community Treasure Hunt

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

Start Hunting!