Create a periodic vector/array
What is the quickest way to create an array of length 999 such as the following:
[0, 2, 7, 0, 2, 7, 0, 2, 7, ...]
?
Asked: 2015-11-11 18:51:31 +0100
Seen: 977 times
Last updated: Nov 11 '15
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.