Piecewise defined function builder
Constructs a callable function that applies different definitions based on supplied conditions.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Toby Driscoll (2026). Piecewise defined function builder (https://nl.mathworks.com/matlabcentral/fileexchange/15851-piecewise-defined-function-builder), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Piecewise functions
General Information
- Version 1.0.0 (2.55 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 | Improved documentation on overlapping definitions and on complex inputs. |