How code the following expression into Matlab

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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