how to make a plot

3 vues (au cours des 30 derniers jours)
hyoung chul roh
hyoung chul roh le 21 Nov 2018
Commenté : Majid Farzaneh le 22 Nov 2018
i don't know how to make a plot F vs V
i want to plotting Fa vs V , Fb vs V ,Fc vs V on one plot
some equtions is here
dFa/dV=ra
dFb/dV=-ra-kc*Ct*Fb/FT
dFc/dV=-ra
-ra=K*(Ca-Cb*Cc/Kc)
Ca=Ct*Fa/Ft
Cb=Ct*Fb/Ft
Cc=Ct*Fc/Ft
here is constant number
Ct=0.2mol/L
K=0.7/min
Kc=0.05mol/L
kc=0.2/min
Fa(0)=10mol/min
Fb(0)=0
Fc(0)=0
these three property is initial property
plses tell me how to make a plot Fa Vs V , Fb Vs V ,Fc Vs V on same plot
  2 commentaires
Adam Danz
Adam Danz le 21 Nov 2018
What's V?
hyoung chul roh
hyoung chul roh le 22 Nov 2018
V means Volume which is variable

Connectez-vous pour commenter.

Réponse acceptée

Majid Farzaneh
Majid Farzaneh le 21 Nov 2018
Hi, you can use this:
figure,
plot(V,Fa,'-o')
hold on
plot(V,Fb,'-*')
plot(V,Fc,'-^')
legend('Fa','Fb','Fc')
  2 commentaires
hyoung chul roh
hyoung chul roh le 22 Nov 2018
thank you very much
Majid Farzaneh
Majid Farzaneh le 22 Nov 2018
you're welcome

Connectez-vous pour commenter.

Plus de réponses (1)

Cris LaPierre
Cris LaPierre le 21 Nov 2018
Chapter 9 of MATLAB Onramp
  1 commentaire
hyoung chul roh
hyoung chul roh le 22 Nov 2018
thank you!

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by