Plotting Piecewise Functions Matlab