How To Make A Piecewise Function In Matlab