我正在尝试合并类似以下代码的数组:
import numpy as np
from numpy import column_stack as column_stack
from matplotlib.pyplot import plot as plot
from matplotlib.pyplot import show as show
N = 120
Yq = np.arange(0,N-1)
YY = Yq[N//2:]-N + Yq + Yq[:N//2]+N
#YY = column_stack( (Yq[N//2:]-2*PI, Yq, Yq[:N//2]+2*PI))
plot(YY)
show()
我尝试了'+'和column_stack(),但均无济于事。如何合并三个数组?谢谢。
相关分类