lsqcurvefit x solution as an integer

5 views (last 30 days)
scarzo on 28 Feb 2014
Commented: scarzo on 28 Feb 2014
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.
  1 Comment
scarzo on 28 Feb 2014
Thank you Matt for your answer.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by