I am trying to create a function, which (times another function handle) will be used as the objective function in fmincon, which is placed in main .m file.<