% this program gives you a string of integers from a to b: % [x] = counter(a,b) function [x] = counter(a,b) x = a:1:b;