How code the following expression into Matlab

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Physics news on Phys.org
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