plot(Z,z)
plot(Z)
%% K*X in Yalmipx = sdpvar(2,1);X = [-1<=x<=1];K=[1 1];z = sdpvar;Z = [z==K*x, ismember(x,X)];plot(X,[],'g')plot(Z,z) %no resultplot(Z)
if size(x_opt,1)==1 p = line(x_opt,[0 0],'color',color); set(p,'LineStyle',options.plot.wirestyle); set(p,'LineStyle',options.plot.wirestyle); set(p,'LineWidth',options.plot.linewidth); set(p,'EdgeColor',options.plot.edgecolor); set(p,'Facealpha',options.plot.shade); elseif size(x_opt,1)==2
if length(x)==2 c = [cos(angles);sin(angles)]; elseif length(x) == 1 c = [-1 1];n = 2; else c = randn(3,n); end