source:
ThirdParty/levmar/matlab/expfit.m@
91c409
      
      | Last change on this file since 91c409 was 8ce1a9, checked in by , 9 years ago | |
|---|---|
| 
 | |
| File size: 129 bytes | |
| Line | |
|---|---|
| 1 | function x = expfit(p, data) | 
| 2 | n=data; | 
| 3 | |
| 4 | % data1, data2 are actually unused | 
| 5 | |
| 6 | for i=1:n | 
| 7 | x(i)=p(1)*exp(-p(2)*i) + p(3); | 
| 8 | end | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    
