[SciPy-user] Numerical gradient approximation on matrix

Dimitri D'Or dimitri.dor at fssintl.com
Fri Jul 29 04:57:08 EDT 2005


Hi all,

 

I have a two-dimensional array from which I wish to compute the gradient
(i.e. the slope against the first and second dimension). With Matlab, I can
do it easily using the gradient.m function. Is there something similar in
Scipy or matplotlib? I've browsed the documentation but couldn't found
anything but approximate gradient computations on functions in the optimize
module. Nothing about computations on matrices.

 

Thank you for your help,

 

Dimitri

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20050729/d3da1767/attachment.html>


More information about the SciPy-User mailing list