結果 : create piecewise function matlab