# Example to show the influence of the factorization method

2D (real and imaginary part at different positions)

    % corner and ball as in default contrast cornerBallSparse2D.m but without the spase edge.
    % Further, rotated for the imaginary part.

    function q = factMethExample2D(X1,X2,varargin)
    seti = varargin{end};

    q1 = cornerBall2D(X1,X2,seti);

    q2 = rot90(q1,2); % rotates 2*90 degrees counterclockwise

    q = q1 + 1i.*q2;
    q = double(q);
    end