3.42857

3.4 | 7 ratings Rate this file 22 Downloads (last 30 days) File Size: 1013 Bytes File ID: #5191

Mean Curvature

by Ahmed Elnaggar

 

10 Jun 2004 (Updated 10 Jun 2004)

Calculate the Mean curvature of a given surface (x,y,z).

| Watch this File

File Information
Description

The function calculates the mean curvature of a given point cloud data. The input is the coordinates matrix of x,y,z. The output is a matrix containing the mean curvature at each point.

Acknowledgements
This submission has inspired the following:
Mean Curvature (Fast code)
MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
13 Jan 2005 Dan Barrett

Thank you

15 Apr 2005 Matt Morris

Passing a vector to the gradient() function will yield a vector solution. Lines 3-12 request a matrix solution from the gradient function. This will error off a 'Too many output arguments' error.

20 May 2005 Deepak Chittajallu

Will, these two snippets of code for computing surface mean and gaussian curvatures, also work for raw arbitrary/triangular meshes where in the mesh topology information is given in the form of polygonal/triangular faces ?

what are the pre-conditions on the data for the two functions ?

It sounds to me that the two functions assume an isometric surface ?

Howisit possible to compute the mesh curvatures without any knowledge about the "neighborhood/mesh topology" information.

22 May 2005 pati aziz

what is input should be? Whether it is in 1 matrix or 2 times matrix or 3 times matrix?

07 Feb 2007 mustafa yagci  
11 May 2007 Chuancai Liu  
11 Jun 2007 DR R P GUPTA GUPTA

excellent

29 Jul 2007 mehdi ravanbakhsh

Hi Ahmed,
Can you please let me know how I can use your code to calculate the curvature of a 2-D curve?
Thanks,Mehd

05 Sep 2008 Hasan Rai  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gaussian curvature Ahmed Elnaggar 22 Oct 2008 07:23:17
mean curvature Ahmed Elnaggar 22 Oct 2008 07:23:17
first fundamental form Ahmed Elnaggar 22 Oct 2008 07:23:17
second Ahmed Elnaggar 22 Oct 2008 07:23:17
first fundamental form Raja 04 Jun 2009 17:21:47
mean curvature Padmavathy Subramanian 14 Jul 2011 10:19:03

Contact us at files@mathworks.com