Problems with Regress Function
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Linear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!