correlationgen3
algorithm
- calculates correlation between to variables in vector form
- displays the correlation in a scatter plot
- use extract3 or lincut3 to calculate the vectors
syntax
[cc]=correlationgen3(variable1,variable2)
example for input
[cc]=correlationgen3(VV2heat,VV2OH)
input arguments
variable1, variable2 |
variables (vectors) to calculate the correlation |
output arguments
cc |
correlation between variable1 and variable2 |
plot |
scatterplot of the correlation |
matlab tools required
- corrcoef, scatter