matlab - finding gradient/curvature of surface defined by arbitrary, non-grid-spaced points -


so have 3 dimensional matrix of points (presumably) define surface. purposes, x , y can random values when plotted along z coordinates, define undulating surface. i'd measure local curvatures of said surface, , in order that, need able find gradient of said surface, @ point calculating curvature trivial.

i have not yet found implementation of how measure curvature doesn't make use of matlab's gradient function. problem matlab's gradient function assumes points in sort of order, similar diff(x). suffice if points spaced along grid, not case.

one possible solution measuring gradient give in , assign each point discrete coordinate in grid in xy plane, overcoming issue. however, solution seems inelegant , curious see if had suggestions. thanks!

you can use griddata interpolate scattered data points grid spaced points , calculate gradient.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -