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, ...]
?
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, ...]
?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2015-11-11 18:51:31 +0100
Seen: 622 times
Last updated: Nov 11 '15
Can I define a function from a list of values?
Elegant solution to 'thin out' array and plot line
Creating an array of variables
Newton's cubic Fractal help. Plotting
Using the solution of a linear system, and splitting a matrix
frequency (count) in Numpy Array
refresh numpy array in a for-cycle