Covariance calculations and correlations
Source code name: "stat_corr.m"
Programming language: Octave
Topic: Statistics/Descriptive
DMelt Version 1. Last modified: 05/08/2015. License: Free
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.

a=cov(v1,v2);           printf('Covariance=%f\n',a)
a=correlation(v1,v2);   printf('Coeff. correlation=%f\n',a)