Last active
May 9, 2023 14:48
-
-
Save SaremS/2f9293fb023ab49e8c164628ca404a97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
np.random.seed(123) | |
white_noise = np.random.normal(size = (240)) | |
integrated_series = np.cumsum(np.cumsum(white_noise.reshape((20,12)),0).reshape(-1)) | |
plt.figure(figsize = (16,5)) | |
plt.plot(integrated_series,color="blue") | |
plt.margins(x=0) | |
plt.grid(alpha=0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment