There are two data.
y1=[0 1 2 3 4]' y2=[2 3 4 5 6]'
We can see positive relationship between y1 and y2. The relationship between two data can be estimated using correlation coefficients.
https://en.wikipedia.org/wiki/Correlation_and_dependence
Calculate this between y1 and y2.
1528 Solvers
The Hitchhiker's Guide to MATLAB
2694 Solvers
406 Solvers
198 Solvers
170 Solvers