how to Differentiate 3D points

13 ビュー (過去 30 日間)
Kurt
Kurt 2013 年 10 月 11 日
コメント済み: dpb 2013 年 10 月 12 日
Hi guys,
I have some 3D points of a 3D surface in x, y and z format. You can get the points here: http://textuploader.com/?p=6&id=EjEtc
Assuming 'M' is my 3D surface (i.e. made up of the 3D points), I would like to get the derivative of M with respect to the 'x' direction and the 'y' direction. That is, I want to differentiate M wrt to the x and y coordinates (i.e. gradient in x and y directions).
My data is not a uniform grid. Any ideas how to do this in Matlab ?

採用された回答

dpb
dpb 2013 年 10 月 11 日
See
doc gradient
maybe? Look at alternate syntax with spacing inputs not just minimum case.
  7 件のコメント
Kurt
Kurt 2013 年 10 月 12 日
dpb
dpb 2013 年 10 月 12 日
編集済み: dpb 2013 年 10 月 13 日
Dunno--give it a go and see...you'll have to see what its assumptions are on data ordering, etc., ...
On the spline, if the data are a (relatively) smooth surface, the idea is that a piecewise cubic poly should be a good representation of same. Since it's a poly of low order, one can analytically compute the derivatives from the coefficients.
For globally-smooth data, response surfaces are often used as well for the same purpose or to reduce high-complexity models to simply-evaluated RSMs for such purposes as MC simulation where the actual evaluation would be excessively costly.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSplines についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by