clear clc x = -5:.1:5; y = x.^2; plot(x, y) title('a parabola') xlabel('x') ylabel('x^2')