import matplotlib.pyplot as plt
|
|
import numpy as np
|
|
noise = np.random.normal(0,1,100)
|
|
x = range(0,100)
|
|
a = x+noise
|
|
np.savetxt('data.csv', a, delimiter=',')
|
|
plt.plot(x+noise, 'xk')
|
|
plt.show()
|
|
|