How to calculate derivation of 2D spline data

1 view (last 30 days)
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)?

Answers (1)

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

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!