to change the form below into the form works in CVX
norm( [ max(x,1) , max(y,2) ] )<=3*x + y
I change it into 4 sets of inequation:
2<=3x+y; x<=1; y<=2;
norm(x,y)<=3x+y; 1<=x; 1<=y;
while for the last one returned the error:
Struct contents reference from a non-struct array object.