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
-
14339 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2061 Solvers
-
10814 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
226 Solvers
-
find the maximum element of the matrix
542 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!