Is there a "regress" function in Matlab R2014a?
1 view (last 30 days)
Show older comments
I am trying to link some datasets through multiple linear regression, but I cannot find the regress function, nor does it appear in help. Is there still such function?
0 Comments
Accepted Answer
dpb
on 10 Jun 2015
Yes, but it is in the Statistics Toolbox, not base Matlab.
You can build a general model and use the backlash operator "\" to solve for the least squares coefficients or there are other tools in the Curve Fitting Toolbox as well if have it but not Statistics.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!