Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = 7
- d = np.random.rand(N)
- K = N+1
- M = 16
- p = 1
- f = lambda mu: mu - 1/(K-1)*sum(1/(M*p*d_i*(1-(K-1)/M+(K-1)/M*mu)+1) for d_i in d)
- mu = np.linspace(-5,5,10000)
- plt.grid(True)
- plt.plot(mu, f(mu))
- plt.ylim((-0.5,0.5))
Add Comment
Please, Sign In to add comment