correlationgen
algorithm
- displays the correlation of two 1d variables in a scatter plot
- variables are vectors which must be the same size
- to obtain the 1d variables use extract, lincut or nonlincut
syntax
[cc]=correlationgen(variable1,variable2)
example for input
[cc]=correlationgen(flthick,strn)
input arguments
Name | description |
---|---|
variable1,variable2 | variables of correlation |
output arguments
Name | description |
---|---|
cc | correlation coefficient between the two variables along the cut |
plot | scatterplot of the values of the data pair |
matlab tools required
- scatter