Watch this Author's files
Works great, but has two bugs:
- surface may not cross axis (go through 0) - small coding bug; replace lines 39f with
area_per_layer = zeros(1,round(m(direction))); layer_cm = zeros(round(m(direction)),2);
then it works like a charm ;)
4
Contact us at files@mathworks.com