Rank: 115654 based on 0 downloads (last 30 days) and 0 file submitted
photo

Dan

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Dan
Updated File Comments Rating
21 Nov 2010 Automatic Differentiation with Matlab Objects Automatically compute derivatives of functions, without using finite-difference approximations. Author: William McIlhagga

The idea is great. It is impossible to compute jacobian with respect to numerous variables using standard Symbolic Toolbox.
However I found that the expression x'*A*x causes an error in Matlab 2010a. I was able to correct it by writing x'*(A*x) and correcting the 'adiffadiff' case in mtimes.m file (transposition should be added to first factors).
Is there a way to allow free usage of matrix expressions (i.e. free transposition usage and maybe allow to calculate derivatives with respect to a matrix)? I haven't found any matlab library that allows of doing it with respect to vector of variable length.

Contact us