source:
ThirdParty/levmar/matlab/jacbt3.m@
1ca493a
| Last change on this file since 1ca493a was 8ce1a9, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 196 bytes | |
| Line | |
|---|---|
| 1 | function jac = jacbt3(p, adata) |
| 2 | n=5; |
| 3 | m=5; |
| 4 | |
| 5 | t1=p(1)-p(2); |
| 6 | t2=p(2)+p(3)-2.0; |
| 7 | t3=p(4)-1.0; |
| 8 | t4=p(5)-1.0; |
| 9 | |
| 10 | for i=1:n |
| 11 | jac(i, 1:m)=[2.0*t1, 2.0*(t2-t1), 2.0*t2, 2.0*t3, 2.0*t4]; |
| 12 | end |
| 13 |
Note:
See TracBrowser
for help on using the repository browser.
