Mean Curvature (Fast code)

Calculate the Mean curvature of a given surface (x,y,z) using vectorized form.
6K Downloads
Updated 22 Mar 2006

No License

This function is a modified form of original code (see below). I vectorized the code to make the code time efficient.

The function calculates the mean curvature of the input structured matrix data. The input are the coordinate matrices of x,y & z (as generated by meshgrid or similar functions).

The outputs are a matrix containing the mean curvature at each point and a scalar giving the surface average mean curvature (SAMC).

Mistake found by Anthony Beaucamp. Thanks for letting me know! File has been updated.

Cite As

Pratik Kamdar (2024). Mean Curvature (Fast code) (https://www.mathworks.com/matlabcentral/fileexchange/10010-mean-curvature-fast-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Mean Curvature

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Mistake in formula. Found by Anthony Beaucamp. Thanks for letting me know!