correlationex3
algorithm
- extracts two variables from isolevel defining the flame front surface
- calculates the correlation between the two variables
- displays the correlation between the two variables in a scatter plot
- extracted variables are vectors which must be the same size
syntax
[cc]=correlationex3(X,Y,Z,fdefine,level,variable1,variable2,s)
example for input
[cc]=correlationex3(X,Y,Z,CO2,0.03,HEAT,OH,'abs')
input arguments
X,Y,Z |
vectors defining the domain |
fdefine |
variable defining the flamefront |
level |
isolevel of fdefine defining the flamefront |
variable1,variable2 |
variables of correlation |
s |
switch between absolut or relativ value of fdefine |
output arguments
cc |
correlation between the two variables along flame front |
plot |
scatterplot of the correlation |
matlab tools required
- scatter, corrcoef