Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (8 sloc) 178 Bytes
clear;
syms a b;
f = @(x) a.*exp(b.*x);
xi = [0 1 2 3 4];
yi = [3 1 0.5 0.2 0.05];
lambda0 = [1 -1.5];
[lambda, n] = GaussNewton(f, xi, yi, lambda0, 10^-5, 50, 10);
disp(lambda);
You can’t perform that action at this time.