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 .

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2012년 6월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by