source:
branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-levmar/levmar-2.6/matlab/expfit.m
@
16080
Last change on this file since 16080 was 16080, checked in by hmaislin, 6 years ago | |
---|---|
File size: 137 bytes |
Rev | Line | |
---|---|---|
[16080] | 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.