I am on my transitional trip from MATLAB to scipy(+numpy)+matplotlib. I keep having issues when implementing some things. I want to create a simple vector array in three dif
Easiest way using numpy.repeat() ||| numpy.tile()
a = np.array([1,2,3,4,5]) np.r_[np.repeat(a,3),np.tile(a,3)]