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/expdecay.m

5 lines
103 B
Matlab

function x = expdecay(t, tau)
% return the exponential function x = e^{-t/tau}
x = exp(-t./tau);
end