corr

corr(A,B)

Try it yourself:

All functions