would like to ask for help on how to interpret this equation(Differential) in Matlab Code
dC/dt=PC+K2*I-μc*C
I have looked at many tutorials on to solve differential equations in matlab and none have been clear to me, according to what i have looked up You can Liken dC/dT to dy/dx ie.
dsolve('Dy = PC+K2*I-μc*C','x')
In which - PC,K2,I,μc,C. are all variables
Q1. Am i on the right path?
Q2. Is it possible for me to view the steps(equation) carried out in order to get the answer and how?
Thanks.
To use dsolve on your system start by looking at some examples in the documentation
For your system a solution would be
syms PC K2 muc I C(t)
dsolve(diff(C) == PC + K2*I - muc*C)
I don't think you can do that in Matlab (it's strengths are numeric calculations and not symbolic).
If i were to give a tip i would head over to wolframalpha (see the examples). It can show step by step solutions to simple equations. I suppose you would find similar features in Mathematica.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.