gistlib
You can use a for loop to iterate from 1 to 5 in MATLAB. Here's an example:
for
main.mfor i = 1:5 disp(i); end 29 chars4 lines
for i = 1:5 disp(i); end
This will display the numbers from 1 to 5 on the MATLAB command window.
gistlibby LogSnag