clc
clear
disp("Kaliyah Johnson")

x = 1:100;
y = exp(x);
z = x.^3;

subplot(2,2,1)
plot(x,y,x,z)
title('Linear')

subplot(2,2,2)
loglog(x,y,x,z)
title('Log-Log')

subplot(2,2,3)
semilogx(x,y,x,z)
title('Semilog-X')

subplot(2,2,4)
semilogy(x,y,x,z)
title('Semilog-Y')

for i = 1:4
subplot(2,2,i)
xlabel('x')
ylabel('y')
legend('e^x','x^3')
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: