how to make a plot

12 views (last 30 days)
hyoung chul roh
hyoung chul roh on 21 Nov 2018
Commented: Majid Farzaneh on 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 Comments
Adam Danz
Adam Danz on 21 Nov 2018
What's V?
hyoung chul roh
hyoung chul roh on 22 Nov 2018
V means Volume which is variable

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!