Try this:
t = linspace(0, 5000, 250); % Choose Appropriate Limits
y = 10.1556-9.10862*exp(-0.00100087*t);
figure
plot(t, y)
grid
Experiment with ‘t’ to get the result you want.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!