Skip to content

Instantly share code, notes, and snippets.

@joonahn
Last active September 28, 2018 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joonahn/78695451140759d0c6b712191644e5ca to your computer and use it in GitHub Desktop.
Save joonahn/78695451140759d0c6b712191644e5ca to your computer and use it in GitHub Desktop.
Code that generate random noises
import sys
import numpy as np
data = np.random.uniform(-1, 1, [int(input("input random array length:"))])
data = np.around(data, 3).tolist()
print(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment