Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-levmar/levmar-2.6/matlab/bt3.m @ 16080

Last change on this file since 16080 was 16080, checked in by hmaislin, 6 years ago

#2929 initial commit of working PGE version

File size: 171 bytes
Line 
1function 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.