How do I preform multiple regression in Matlab?

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)

I would most likely use fitlm to do this. Here is a useful guide to using linear regression in MATLAB.

Categories

Asked:

on 24 Nov 2015

Answered:

on 25 Nov 2015

Community Treasure Hunt

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

Start Hunting!