高斯分佈擬合

題目: 產生N個服從高斯分佈的隨機數,計算這些隨機數的均值和方差,並與高斯分佈的均值和方差比較,N=100,1000,10000,100000python import matplotlib.pyplot as plt import scipy.stats as sta import numpy as np mu_True = 5 #設置高斯分佈的均值mu sigma_True = 2 #設
相關文章
相關標籤/搜索