How do I preform multiple regression in Matlab?

2 views (last 30 days)
I have 4 variables: x, y, z, and t. The values of x, y, and z are loosely correlated to t. Does anybody know how I can run multiple regression on these variables to create an algorithm that solves for t? Also what is the best algorithm to use when fitting the data since it is loosely correlated?

Answers (1)

the cyclist
the cyclist on 25 Nov 2015
I would most likely use fitlm to do this. Here is a useful guide to using linear regression in MATLAB.

Community Treasure Hunt

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

Start Hunting!