function y = cone(Axplusb,cxplusd) %CONE Defines a second order cone constraint ||z||1 error('z must be a vector') end if nargin == 2 if prod(size(cxplusd))>1 error('x must be a scalar') end else end if n