for i = 1:n
norm(Z(i,:),2) <= z(i)
end
Z(i,:)*Z(i,:)' <= z(i)
cone([z(:)';Z'])
cone(z(:)',Z')
but got the errorError using subsindex
Function 'subsindex' is not defined for values of class 'sdpvar'.
Error using subsindex
Function 'subsindex' is not defined for values of class 'sdpvar'.