Linear regression fit model for Multi-variant responses

3 views (last 30 days)
I'm looking for a function for linear regression to fit a model, where you can have multiple responses, like y is a matrix not a vector.
So the function lm =regress(X,Y) gives a trained model, but it only accepts Y as vector, I'm looking for a cunction that gives the model but when I have Y matrix.

Answers (1)

the cyclist
the cyclist on 23 Sep 2021
I think you need mvregress.

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!