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 Solvers27
Suggested Problems
-
2362 Solvers
-
661 Solvers
-
Construct a string from letters and counts
146 Solvers
-
Generate N equally spaced intervals between -L and L
943 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 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!