how to input a derivative in Matlab
2 views (last 30 days)
Show older comments
dR/dt=-bR, R(0)=R0
logR=-bt+c
R=R0e^-bt
Accepted Answer
More Answers (2)
Walter Roberson
on 7 Feb 2019
syms R(t) R0
dR = diff( R)
eq1 = dR == -b*R
eq2 = R(0) == R0
dsolve([eqn1,eqn2])
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!