matlab Some useful information about MATLAB Explain internal function gradient: http://www.ilovematlab.cn/thread-40710-1-1.html