Formulation to Matlab code
Afficher commentaires plus anciens
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?
1 commentaire
Réponses (1)
Alex Pedcenko
le 27 Sep 2019
0 votes
seems OK
Catégories
En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!