How to put max function in symbolic function
12 views (last 30 days)
Show older comments
Commented: Mohamed Gaballah on 13 Jan 2021
I want to make a symbolic function where
x x≥0 }
how to do it?
f = max(0,x)
It gives me an error: Input arguments must be convertible to floating-point numbers.
Birdman on 13 Jan 2021
Why would you try to name it as max? Simply, piecewise function in Symbolic toolbox would help you:
ıf you want to plot for specific inputs to test the function
Isn't there an equivilant in Matlab 2016a , as it gives me "Undefined function or variable 'piecewise'."
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!