Supplied objective function must return a scalar value - non linear regression
Show older comments
Hello,
I am trying to use fminunc to minimize the MSE for a nonlinear regression problem.
When I try to run it, I recieve the error "Supplied objective function must return a scalar value".
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!