Kinetic equation, R=R∞{1-exp(-Kt)}
15 views (last 30 days)
Show older comments
2 Comments
Answers (1)
Jon
on 17 Feb 2020
Edited: Jon
on 17 Feb 2020
It sounds like you may not be too familiar with using MATLAB at all.
If you need to get going quickly at using MATLAB I would highly recommend taking the time to complete the MATLAB On Ramp training
Here's a general pattern that you could follow and modify.
Basically you need an expression to evaluate your rate, then you need to evaluate this expression for each point in time that is of interest, finally plot the results.
Just to give you a place to get started you could do something like this.
Rinf = 100; % put what it is in your situation
k = 10; % put what it is in your situation
tFinal = 5; % here final time is 1000 s, you could change according to your needs
% define a vector of time values where you want the rate evaluated
t = linspace(0,tFinal,100)
% evaluate the rate equation for each time
R = Rinf*(1-exp(-k*t));
% plot the results
plot(t,R)
xlabel('time [s]')
ylabel('Rate')
6 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!