How i can use cell variable?

hi
I need to use cell variable in my optimization for example i use
sigmax = sdpvar(repmat (nx,1,N+1),repmat(nx,1,N+1)) in yalmip but i dont know how i can reformulated in cvx
I would appreciate any assistance .

1 Like

Will multideimensional arrays do what you want? Read mcg’s answer at Cvx sdp mode and cell arrays

Also read https://www.mathworks.com/matlabcentral/answers/383562-using-cell-arrays-as-a-variable-in-cvx

If YALMIP does what you want, perhaps you should stay with that rather than trying to convert to CVX.