Statistics and Machine Learning Toolbox
Analyze and model data using statistics and machine learning
Have questions? Contact Sales.
Have questions? Contact Sales.
Statistics and Machine Learning Toolbox provides functions and apps for statistical analysis and machine learning in MATLAB.
For statistical analysis, you can use descriptive statistics to explore data, fit probability distributions, test hypotheses, perform analysis of variance (ANOVA), plan experiments, validate measurement systems, and monitor processes. You can use functions for programmatic analysis and interactive apps for guided workflows such as distribution fitting, design of experiments (DOE), and Gage R&R.
For machine learning, you can train regression, classification, clustering, and other models interactively or programmatically. The toolbox supports feature engineering, dimensionality reduction, model interpretation, Simulink integration, and C/C++ code generation for deployment. For an interactive experience, you can use the Classification Learner or Regression Learner apps to explore data, select features, choose validation schemes, tune hyperparameters, and evaluate multiple algorithms side-by-side.
Explore data with statistical plots, interactive graphics, and descriptive statistics. Summarize central tendency, dispersion, shape, correlation, and covariance.
Design systematic experiments and analyze response data in the DOE Explorer app. Generate common experiment designs, fit linear models, review ANOVA and residual diagnostics, and export results for further analysis in MATLAB.
Monitor process stability and capability with control charts, capability analysis, and Pareto analysis. Assess measurement system variation with the Gage R&R app.
Model failure times, hazard rates, and survival curves from censored lifetime data, then compute mean time between failures (MTBF) from those estimates.
Fit continuous and discrete distributions, evaluate goodness-of-fit with statistical plots, and compute probability density and cumulative distribution functions.
Compare groups and evaluate factor effects with t-tests, nonparametric tests, distribution tests, and ANOVA. Use one-way, multiway, and repeated measures ANOVA with post hoc comparisons to interpret statistical differences.
Documentation (Hypothesis Tests, ANOVA) | Examples (Hypothesis Tests, ANOVA)
Interactively train, validate, and compare classification and regression models without writing code. Explore data, select features, choose validation schemes, tune hyperparameters, and export trained models or MATLAB code.
Documentation (Classification Learner, Regression Learner) | Examples (Classification, Regression)
Build end-to-end machine learning workflows in MATLAB, from data preparation and feature engineering to model training, evaluation, and deployment. Create reusable pipelines, automate workflows, and scale experiments.
Deploy machine learning models to production systems and embedded targets. Generate optimized C/C++ code from trained models or integrate trained models into Simulink workflows.
Extract, transform, and select features to improve predictive performance. Apply dimensionality reduction techniques, such as PCA, and feature selection to identify the most informative inputs for modeling.
Define workflows that combine preprocessing, feature selection, and model training into reusable pipelines. Standardize experiments, reduce manual steps, and deploy consistent workflows across teams and applications.
Discover the possibilities today.
Get pricing information and explore related products.
Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.