summaryrefslogtreecommitdiff
path: root/2048/CH10/EX10.5/flip.sci
blob: c19564c9ac07f4e0005794a768cd6ab81d0cfd0f (plain)
1
2
3
4
// 10.5
function b = flip(a)
b = a(length(a):-1:1);
endfunction;