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.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers72
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2812 Solvers
-
509 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
397 Solvers
-
842 Solvers
-
170 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Problem needs more test suites