5 lines
109 B
Matlab
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
|