I need to plot the following functions in matlab
y1=sign(x) y2=tanh(x) y3=(x)/(x+1)
The x-range is -5,5 with 0.1 spacing The y-plot range s
Yes, use axis after the plot command:
plot
axis([-5 5 -1.5 1.5])