Code covered by the BSD License
V = gradientf(S) returns the gradient of the scalar field(s) S. S is a structure (or a structure array) that can be obtained by vec2scal. Example showvec(gradientf(vec2scal(v,'norm'))); See Also vec2scal. Published output in the Help browser showdemo gradientf
V = gradientf(S) returns the gradient of the scalar field(s) S. S is a structure (or a structure array) that can be obtained by vec2scal.
showvec(gradientf(vec2scal(v,'norm')));
vec2scal. Published output in the Help browser showdemo gradientf
Contact us at files@mathworks.com