Corrcoefr

Parent Previous Next

Corrcoefr


Rank correlation coefficient


Syntax


corrcoefr(x, y)

x, y are a real row/column vectors of the same size

Return rank correlation coefficient between x and y


Example


Input

Output

x = rand(10)

y = rand(10)

corrcoefr(x, y)


See Also


Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator