lsqcurvefit x solution as an integer
5 views (last 30 days)
Show older comments
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.
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)
Find more on Nonlinear Least Squares (Curve Fitting) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!