function out = symet(in);

%in = [3 2 5; 19 3 14];
%take the symetric response acros the middle column
[NN, N] = size(in);
n_op=N:-1:1;

for n=1:N
    out(1:NN,n) = mean([in(1:NN,n) in(1:NN,n_op(n))]');
end