Discriminant Analysis

Linear and quadratic discriminant analysis classification

To train a discriminant analysis model, use fitcdiscr.
After training a discriminant analysis model, predict labels or estimate
posterior probabilities by passing the model and predictor data to predict.