correlation

Calculates the correlation between two vectors or matrices. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Vector a
  2. Vector b

Output

Resulting correlation

Examples

correlation