Code covered by the BSD License  

Highlights from
Piecewise defined function builder

from Piecewise defined function builder by Toby Driscoll
Constructs a callable function that applies different definitions based on supplied conditions.

All files for Piecewise defined function builder
/license.txt
/piecewise.m

Contact us at files@mathworks.com