ttest
Statistics
One-sample t-test. Tests whether the mean of x differs significantly from mu (default 0). Returns { t, p, df, ci } with t-statistic, two-tailed p-value, degrees of freedom, and 95% confidence interval.
Syntax
ttest(x)
ttest(x, mu)
Examples
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab