Write a function that returns the Mann-Kendall correlation between two variables x and y
Example
mk([1 2 3],[4 5 6])
ans = 1
mk([1 2 3 4 5],[1 2 4 3 5])
ans = 0.8
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers29
Suggested Problems
-
Calculate the area of a triangle between three points
3473 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
517 Solvers
-
356 Solvers
-
Change the sign of even index entries of the reversed vector
648 Solvers
-
Detect a number and replace with two NaN's
200 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!