how to make a plot

1 visualizzazione (ultimi 30 giorni)
hyoung chul roh
hyoung chul roh il 21 Nov 2018
Commentato: Majid Farzaneh il 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 Commenti
Adam Danz
Adam Danz il 21 Nov 2018
What's V?
hyoung chul roh
hyoung chul roh il 22 Nov 2018
V means Volume which is variable

Accedi per commentare.

Risposta accettata

Majid Farzaneh
Majid Farzaneh il 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 Commenti
hyoung chul roh
hyoung chul roh il 22 Nov 2018
thank you very much
Majid Farzaneh
Majid Farzaneh il 22 Nov 2018
you're welcome

Accedi per commentare.

Più risposte (1)

Cris LaPierre
Cris LaPierre il 21 Nov 2018
Chapter 9 of MATLAB Onramp

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by