FrostScYthe Messages 80 Reaction score 0 Thread starter Oct 30, 2006 #1 What does this statement mean in matlab? for i = n:-1:j
abhishek Messages 36 Reaction score 0 Nov 2, 2006 #2 It's the header of a for loop. i takes on the value of n initially; the loop body (which you haven't shown) is executed; i changes by -1; and the loop repeats until i and j are equal. Refer to: http://www.mathworks.com/access/helpdesk_r13/help/toolbox/rptgen/forloop.html
It's the header of a for loop. i takes on the value of n initially; the loop body (which you haven't shown) is executed; i changes by -1; and the loop repeats until i and j are equal. Refer to: http://www.mathworks.com/access/helpdesk_r13/help/toolbox/rptgen/forloop.html