How code the following expression into Matlab

1 reply · 2K views · last reply
That depends on whether P is a matrix of data you have or if you just want to work symbolically.

in general the diff, del2 and gradient operators are used for partial derivatives