source:
ThirdParty/levmar/matlab/jacmeyer.m@
1ca493a
| Last change on this file since 1ca493a was 8ce1a9, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 228 bytes | |
| Rev | Line | |
|---|---|---|
| [5443b1] | 1 | function jac = jacmeyer(p, data1, data2) |
| 2 | n=16; | |
| 3 | m=3; | |
| 4 | ||
| 5 | for i=1:n | |
| 6 | ui=0.45+0.05*i; | |
| 7 | tmp=exp(10.0*p(2)/(ui+p(3)) - 13.0); | |
| 8 | ||
| 9 | jac(i, 1:m)=[tmp, 10.0*p(1)*tmp/(ui+p(3)), -10.0*p(1)*p(2)*tmp/((ui+p(3))*(ui+p(3)))]; | |
| 10 | end |
Note:
See TracBrowser
for help on using the repository browser.
