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

91 Solutions

29 Solvers

Last Solution submitted on Mar 04, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers29

Suggested Problems

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!