From: Donatello on
plz i need the script to change the columns of a matrix
example
1 2 3 3 2 1
4 5 6 ---------------> 6 5 4
7 8 9 9 8 7
this is my code....

function invier=cambifil(A)
[f,c]=size(A);
for i=1:f;
for j=1:c;
A(i,c-j+1)=A(i,j);

end
end
invier=A