How do I preform multiple regression in Matlab?

1 回表示 (過去 30 日間)
Jake H
Jake H 2015 年 11 月 24 日
回答済み: the cyclist 2015 年 11 月 25 日
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?

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by