Corrcoefm

Parent Previous Next

Corrcoefm


Moment correlation coefficient


Syntax


corrcoefm(x, y)

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

Return moment correlation coefficient between x and y


Example


Input

Output

x = rand(10)

y = rand(10)

corrcoefm(x, y)


See Also


Created with the Personal Edition of HelpNDoc: Easily create Help documents