No, that is the best available -- unless you want to count
foo = reshape(1:9,3,[]) %3 rows, as many colums as needed.
If you have the Computer Communications Toolbox, you can use
foo = buffer(1:9, 3) %3 rows
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!