Error while running the funcyion
Show older comments
While running my function, I am getting following error. PLease help me
Error using fit>iFit (line 340)
Complex value computed by model function, fitting
cannot continue.
Try using or tightening upper and lower bounds on
coefficients.
Error in fit (line 108)
[fitobj, goodness, output, convmsg] = iFit(
xdatain, ydatain, fittypeobj, ...
4 Comments
Walter Roberson
on 20 Jan 2018
Which model are you fitting against? What is the range of your x and y data? Have you put in any range constraints?
Giru Mishra
on 20 Jan 2018
Edited: Matt J
on 20 Jan 2018
Giru Mishra
on 20 Jan 2018
Giru Mishra
on 20 Jan 2018
Accepted Answer
More Answers (0)
Categories
Find more on Model-Based Calibration Toolbox 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!