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