source:
ThirdParty/levmar/matlab/jacosborne.m@
91c409
| Last change on this file since 91c409 was 8ce1a9, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 189 bytes | |
| Line | |
|---|---|
| 1 | function jac = jacosborne(p) |
| 2 | n=33; |
| 3 | m=5; |
| 4 | |
| 5 | for i=1:n |
| 6 | t=10*(i-1); |
| 7 | tmp1=exp(-p(4)*t); |
| 8 | tmp2=exp(-p(5)*t); |
| 9 | |
| 10 | jac(i, 1:m)=[1.0, tmp1, tmp2, -p(2)*t*tmp1, -p(3)*t*tmp2]; |
| 11 | end |
Note:
See TracBrowser
for help on using the repository browser.
