I need to find the minimum in an array containing a cvx Object and I am interested in finding its position, would it help if I edit the cvx/min fn. so that the position returned is this line becomes :
[vu pos] = sort( vr(all) );
vu = sort( vr(all) );
and note that this isn’t the objective function, it’s just a step in the calculations.