Created
February 28, 2020 11:15
-
-
Save ksheersaagr/9398dadbddec4bc83fa6bf79ea80d5bd 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
## Print out and display the final, resulting Gaussian | |
# set the parameters equal to the output of the Kalman filter result | |
mu = mu | |
sigma2 = sig | |
# define a range of x values | |
x_axis = np.arange(-20, 20, 0.1) | |
# create a corresponding list of gaussian values | |
g = [] | |
for x in x_axis: | |
g.append(f(mu, sigma2, x)) | |
# plot the result | |
plt.plot(x_axis, g) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment