cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

What is the difference between "corr" and "correl" function

adar
6-Contributor

What is the difference between "corr" and "correl" function

The formula of the corr function is given in Mathcad help. But correl is not given. I know corr is pearson coeffcient but what is correl ? What does it represent?

1 REPLY 1
VladimirN
24-Ruby II
(To:adar)

corr(A, B) - returns the Pearson's r correlation coefficient of the elements in A and B;

correl(vx, vy) - returns the correlation of vectors vx and vy. Result is a vector for which each element contains the summed vector product of vx and a shifted version of vy;

correl2d(M, K) - returns the 2D correlation of matrix M with kernel K. The resulting matrix contains the summed element-wise product of K overlapped with a subset of M.

Top Tags