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 Solvers30
Suggested Problems
-
Return the largest number that is adjacent to a zero
5543 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15815 Solvers
-
Maximum running product for a string of numbers
2258 Solvers
-
Reverse the Words (not letters) of a String
477 Solvers
-
6270 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!