how to define the following piecewise linear function

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 .

Réponses (0)

Catégories

En savoir plus sur Elementary Math dans Centre d'aide et File Exchange

Question posée :

le 13 Juin 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by