- #1
pizza89
- 3
- 0
I have a 5000x1 vector and am trying to write a function to calculate an answer for entry 1-11, then 12-22, then 23-33, etc. ...
I've been trying to use a 'for' loop, basically:
for i = (??)
x=i+1
end
Not sure what to put in the ? area.
I want it to spit out answers for each set of 11 values, but can't figure out how.
I've been trying to use a 'for' loop, basically:
for i = (??)
x=i+1
end
Not sure what to put in the ? area.
I want it to spit out answers for each set of 11 values, but can't figure out how.