I want to plot a piecewise function that has
x=-2*pi:0.001:-2*pi
does not use a loop or the "find" function,
y = {tan(x) if abs(tan(x))<=N, N if tan(x)>N, -N if tan(x)<-N}
x=-2*pi:0.001:-2*pi
y = {tan(x) if abs(tan(x))<=N, N if tan(x)>N, -N if tan(x)<-N}
Best Answer