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 Solvers31
Suggested Problems
-
Which values occur exactly three times?
5253 Solvers
-
The Hitchhiker's Guide to MATLAB
3426 Solvers
-
Sum all integers from 1 to 2^n
18087 Solvers
-
398 Solvers
-
801 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!