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
-
Project Euler: Problem 10, Sum of Primes
2131 Solvers
-
Construct a string from letters and counts
147 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
786 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
176 Solvers
-
The Answer to Life, the Universe, and Everything
588 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!