normal3
algorithm
- calculates components ofnormal vectors of a 3d field
- using matlab tool gradient
- note: normal3 calculates coordinates of normal vectors of values of a 3d matrix;
- use extract3 after calculation, to extract normals along flame front or any arbitrary variable
syntax
[xn,yn,zn]=normal3(X,Y,Z,variable)
example for input
[xn,yn,zn]=normal3(X,Y,Z,CO2);
[varisoxn,f,vert]=extract3(X,Y,Z,CO2,0.03,xn,'abs','yes');
input arguments
X,Y,Z |
vectors defining the rectangular domain |
variable |
arbitrary variable, for example flame front |
output arguments
xn ,yn, zn |
components of normal vectors in 3d field |
matlab tools required
- gradient