Help with linear regression
2 views (last 30 days)
Show older comments
Teshan Rezel on 3 Feb 2022
Commented: Rik on 4 Feb 2022
I have 2 tables. A is 256x54 and B is 1x54.
I want to correlate each of the 256 values in each column of table A to the corresponding value in table B, and then find the index within table A that gives the best correlation.
Is this possible? So far I have been unseccessul in applying the \ operator as per the documentation in here: https://uk.mathworks.com/help/matlab/data_analysis/linear-regression.html
Attached are my tables!
Find more on Descriptive Statistics 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!