Plotting Piecewise Functions In Matlab