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 Solvers29
Suggested Problems
-
5096 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2570 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
Find a subset that divides the vector into equal halves
402 Solvers
-
Determine the number of odd integers in a vector
831 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!