I'm not pretty sure how to use fminsearch with matrix variables. For example if I have
x = [0,1,2,3,4]y = [5,10,25,40,90]
and question ask, use fminsearch to estimate C1 and C2 of equation y=C1*exp(C2*x). Is possible to find the unknown variables by using fminsearch?
Thank you a lot
Best Answer