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 .

Respuestas (0)

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 13 de Jun. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by