source:
ThirdParty/levmar/matlab/osborne.m@
1ca493a
| Last change on this file since 1ca493a was 8ce1a9, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 122 bytes | |
| Line | |
|---|---|
| 1 | function x = osborne(p) |
| 2 | n=33; |
| 3 | |
| 4 | for i=1:n |
| 5 | t=10*(i-1); |
| 6 | x(i)=p(1) + p(2)*exp(-p(4)*t) + p(3)*exp(-p(5)*t); |
| 7 | end |
Note:
See TracBrowser
for help on using the repository browser.
