clc clear disp("kaliyah johnson") x = 0:0.01:12; y = 4*(x<4) + (x>=4 & x<8) - 2*(x>=8); plot(x,y) title('Function by kaliyah johnson') xlabel('x') ylabel('y')
To embed this project on your website, copy the following code and paste it into your website's HTML: