» x = normrnd(0,1,50,1); » m = mean(x) m = 0.0393 » [h,sig,ci] = ztest(x,0,1,0.01) h = 0 sig = 0.7809 ci = -0.3249 0.4036 » [h,sig,ci] = ztest(x,2,1,0.05) h = 1 sig = 1.0464e-043 ci = -0.2378 0.3165 »