gistlib
You can use a for loop with a decrementing range as follows:
main.mfor i = 10:-1:1 disp(i); end 32 chars4 lines
for i = 10:-1:1 disp(i); end
This will loop from 10 down to 1, printing each value.
gistlibby LogSnag