how to define the following piecewise linear function
Show older comments
I want to define a funtion like : f(x) = max {<a_i , x > + \alpha_i } where i = 1...m a_i is a vector , x is a vector , and \alpha_i is a constant
please help me to define this function in Matlab . Thank so much .
Answers (0)
Categories
Find more on Elementary Math 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!