Piecewise functions
Evaluate a general piecewise function of one variable
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
John D'Errico (2026). Piecewise functions (https://www.mathworks.com/matlabcentral/fileexchange/9394-piecewise-functions), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Piecewise defined function builder
General Information
- Version 1.0.0 (2.08 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 | Fixed it so it now should work on older releases, as long as you supply inline functions. |