This repository has been archived on 2021-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
scientificComputing/regression/exercises/exp2func.m

5 lines
109 B
Matlab

function x = exp2func(t, p)
% return the exponential function x = c*e^{-t/tau}
x = p(1)*exp(-t./p(2));
end