Formulation to Matlab code
Ältere Kommentare anzeigen
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 Kommentar
Antworten (1)
Alex Pedcenko
am 27 Sep. 2019
0 Stimmen
seems OK
Kategorien
Mehr zu Software Development Tools finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!