Problems with Regress Function
Ältere Kommentare anzeigen
I'm trying to make a linear regression I have a matrix 1439x5. The first column is observed data and the following 4 are predictor variables. my code looks like this
ans = regress(wl(:,1:1),wl(:,2:5))
I am only getting an output of 4 numbers, where there should be 1439. Any ideas?
Thank you in advance for any help
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Linear Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!