필터 지우기
필터 지우기

Semiautomatic complex-step differentiation of real-valued functions

조회 수: 4 (최근 30일)
Mark Shore
Mark Shore 2012년 2월 14일
편집: Matt J 2013년 10월 13일
I found the linked technical article interesting but don't have the mathematical background to determine how useful it may really be. I'm not affiliated with the author but would like to raise it for comments.
MATLAB code and demos can be found at http://software.seg.org/2009/0001/index.html
Because this is academic software there are the usual style issues and a minor bug in a utility program (on line 24 of pMat.m num2str(dec) should read num2str(ndec)). Also, without the Statistics Toolbox several instances of normrnd(a,b,size(x)) must be replaced with the equivalent a + b*randn(size(x)).
  댓글 수: 1
Mark Shore
Mark Shore 2012년 2월 15일
I do realize this is a non-standard type of question for this forum and am just putting it out there on the off-chance a MATLAB forum member may have some pre-existing knowledge of and interest in the subject.

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrew Newell
Andrew Newell 2012년 2월 15일
There is another implementation in MATLAB File Exchange that compares this method to others. Complex step derivatives are astonishing and cool, but no more accurate than automatic differentiation. My favorite package for numerical derivatives is John D'Errico's Adaptive robust numerical differentiation: it includes functions for gradient and Hessian.
  댓글 수: 1
Mark Shore
Mark Shore 2012년 2월 15일
Andrew, I do have John's DERIVEST suite of tools (among his other invaluable contributions). I hadn't thought of comparing the relative capabilities, performance and outputs, but that's a very good idea and I'll give it a try.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by