Kinetic equation, R=R∞{1-exp(-Kt)}
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
2 commentaires
Réponses (1)
Jon
le 17 Fév 2020
Modifié(e) : Jon
le 17 Fév 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 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!