How can I find the max value between 0.5 – 5 using fminbnd?
m=.09b=2.7Eq1=@(x) b.*(x.^m)% I try this but I get an error
Maxp=fminbnd(Eq1.*-1,0.5,5)
fminbndfunctionmax point
m=.09b=2.7Eq1=@(x) b.*(x.^m)% I try this but I get an error
Maxp=fminbnd(Eq1.*-1,0.5,5)
Best Answer