This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
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