Help to optimize two parameters to model the response of a photodiode

1 view (last 30 days)
Hi.
I have a vector M with experimental results and a vector S(t,k) with simulated results. S is the theoretical response of a photodiode and M is the measured response. By varying the two parameters t and k I want to make S=M. Or at least find the best values for t and k to approximate S=M. I want to use the optimization toolbox but I can't figure it out.
thanks b

Answers (1)

dpb
dpb on 7 Nov 2013
doc lsqnonlin % and friends
  1 Comment
Matt J
Matt J on 7 Nov 2013
"friends" would include, notably, LSQCURVEFIT which is a more specialized version of lsqnonlin for minimizing error functions of the form
Error(x) = response(x)-measurements

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!