Problem 1212. Mann-Kendall Correlation
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 commentsProblem Recent Solvers25
Suggested Problems
-
Vectorizing, too easy or too hard?
141 Solvers
-
Output any real number that is neither positive nor negative
389 Solvers
-
388 Solvers
-
4889 Solvers
-
503 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!