10.07.2015 Views

v2007.09.13 - Convex Optimization

v2007.09.13 - Convex Optimization

v2007.09.13 - Convex Optimization

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

F.1. ISEDM() 649F.1.1Subroutines for isedm()F.1.1.1 chop()% zeroing entries below specified absolute tolerance threshold% -Jon Dattorrofunction Y = chop(A,tolerance)R = real(A);I = imag(A);if nargin == 1tolerance = max(size(A))*norm(A)*eps;endidR = find(abs(R) < tolerance);idI = find(abs(I) < tolerance);R(idR) = 0;I(idI) = 0;Y = R + i*I;F.1.1.2 Vn()function y = Vn(N)y = [-ones(1,N-1);eye(N-1)]/sqrt(2);F.1.1.3 Vm()% returns EDM V matrixfunction V = Vm(n)V = [eye(n)-ones(n,n)/n];

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!