From: Donatello on 25 Jun 2010 23:14 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
|
Pages: 1 Prev: Converting form .m to .mex is no longer efficient? Next: Column Operations Matlab |