I have a matrix with the operation perfomed as:
a_x = @(x) sum((x-a)./(x+a),'all');
I want the operation for each pair to be performed in complex format. For example for one pair of the matrix ( a(1) & a(2) ) points, it will be like:
complex(a(1),-a(2)) / complex(a(1),a(2));
Which will give me:
I want this operation (sum of all the relations for each point) to be performed for all the matrix components (may original matrix is 81*81).