by 김상철(교원-소프트웨어전공)
1
2
import numpy as np
FreqReUse = 9
NoUpLink = 12
PlusShift = 12000
MinusShift = -12000
No_Iterations = 1000
SIR = np.zeros((1,NoUpLink))
SubX = np.random.uniform(NtwSizeA, NtwSizeB, size=[FreqReUse, NoUpLink])
SubY = np.random.uniform(NtwSizeA, NtwSizeB, size=[FreqReUse, NoUpLink])
1
2
3
1
2
3
import matplotlib.pyplot as plt
plt.plot(Cell_x0, Cell_y0, 'bo', Cell_x1, Cell_y1, 'r>', Cell_x2, Cell_y2, '*')
plt.grid()
import matplotlib.pyplot as plt
plt.plot(ShiftXa, ShiftYa, 'bo')
plt.axis([-16000, 16000, -16000, 16000])
plt.grid()
Dist = np.sqrt(ShiftXa**2 + ShiftYa**2)
for x in range(4):
plt.plot(ShiftXa[x,:],ShiftYa[x,:],'o')
1
2
3