How to calculate derivation of 2D spline data

2 vues (au cours des 30 derniers jours)
Yueyan Li
Yueyan Li le 17 Juil 2019
Commenté : Yueyan Li le 17 Juil 2019
I know there's method to calculate derivation of 1d spline data, but how to calculate 2d spline data?
asuming there's 2d data : ZZ(XX,YY)
How to calculate the derivation of data (XX,YY,ZZ)?

Réponses (1)

KSSV
KSSV le 17 Juil 2019
REad about gradient
  3 commentaires
KSSV
KSSV le 17 Juil 2019
syms x y z
z = cos(x).*exp(-y^2);
dz = diff(z,x)
Yueyan Li
Yueyan Li le 17 Juil 2019
that's just an example, I already delete the example to avoid your confusion.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by