Formulation to Matlab code
3 views (last 30 days)
Show older comments
Maroco Sc on 27 Sep 2019
Commented: rough93 on 27 Sep 2019
How to write this formulation in Matlab:
where p = 1; g is a vector; j= length(g); x is a vector
phi = sum( norm(max(0,g)) );
phi = max( max(0,g) );
are they corect or not?
Find more on Operators and Elementary Operations 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!