How to plot This graph in matlab?
Show older comments
x=[1.0:0.1:3.0];
%Composition
%Outlet Specification [PFAD(4)]
y=-2.03^9-3*x^2)+5.76^(-3x)+1;
z=-1.11^-2*x^2+6.49^-2*x+9.99;
plot(x,y,'-b',x,z,'-r')
title('Distillate composition vs time');
xlabel('time');
ylabel('xd');
legend('a) FFA','b)TAG');

Accepted Answer
More Answers (1)
I have shown one plot for you reference. You may extend the same to others.
x=1.0:0.1:3.0;
y=-2.03*10^-3*x.^2+5.76*10^-3*x+1*10^2 ;
plot(x,y,'-b')
title('Distillate composition vs time');
xlabel('time');
ylabel('xd');
legend('a) FFA');
1 Comment
Itqan Ismail
on 1 Feb 2023
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


