Error using fminusub (line 16) Objective function is undefined at initial point. Fminunc cannot continue.

Hello,
I am trying to run a code and it always gave me the same error message:
"Error using fminusub (line 16) Objective function is undefined at initial point. Fminunc cannot continue".
I really need some help with my initial starting values or objective function.
Any suggestions are welcomed!
Thanks!

Answers (0)

Categories

Products

Release

R2016a

Asked:

on 24 Dec 2021

Community Treasure Hunt

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

Start Hunting!