shapefactor
algorithm
- calculates the shapefactor according to the article of Ruthland
- plots normalized histogram and pdf of shapefactor values
- The shapefactor S is defined as the smaller principal curvature divided by the larger principal curvature
- for S=-1 the surface has a local saddle point
for S= 0 the surface is cylindrically curved
for S= 1 the surface is spherically curved - use curvlev3new to calculate the principal curvatures
syntax
[s,ahist,apdf]=shapefactor(var3,var4)
example for input
[s,ahist,apdf]=shapefactor(var3,var4)
input arguments
var3,var4 |
principal curvatures |
output arguments
s |
shapefactor |
ahist, apdf |
area of histogram and ander the pdf |
plots |
histogram of shapefactor distribution |
matlab tools required
- hist, trapz, interp1