source:
ThirdParty/levmar/matlab/jacosborne.m@
a844d8
Last change on this file since a844d8 was 8ce1a9, checked in by , 8 years ago | |
---|---|
|
|
File size: 189 bytes |
Rev | Line | |
---|---|---|
[5443b1] | 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.