What is the algorithm used by gradient in Matlab?
显示 更早的评论
I have been using the gradient function in Matlab to run some simulations, and have been using it like a black box, but I would like to know how exactly is the gradient calculated by Matlab. Is it by centered differences? How does it compute the gradient near the edges of the array for which you want to calculate the gradient?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!