x=-6:0.01:6; y=normpdf(x); z=normpdf(x,0,2); plot(x,y,x,z)
知道方差的檢驗不知道方差的狀況檢驗兩個分佈的均值是否相同spa
[muhat,sigmahat,muci,sigmaci] = normfit(A)