To construct a range that takes a non-1 step size, you can do 1:step:end
. Hope that helps.
2 Likes
To construct a range that takes a non-1 step size, you can do 1:step:end
. Hope that helps.