how to plot a piecewise function in matlab

It seems we can’t find what you’re looking for. Perhaps searching can help.