MATLAB: How would you write this out into matlab

equations

I'm solving ODE's in Matlab and i'm having trouble with the correct way to put this equation into my code.
See image

Best Answer

expmt = exp(-t);
y = y0 .* expmt ./ (1 + y0 .* (expmt - 1));
Related Question