im new to matlab and i need help to solve this optimization problem, Here is the objective function m file
function f = objfun(x,w1,w2) w = 6:1:125; z1 = x