Symbolic derivative in a sum
조회 수: 4 (최근 30일)
이전 댓글 표시
I have this expression and I want to evaluate the derivative over p where A_m has a form like that:
It don't know even where to start from. Is there any way to do it ?
댓글 수: 0
답변 (1개)
David Goodmanson
2024년 3월 14일
편집: David Goodmanson
2024년 3월 14일
Hello OG,
If you know d/dp G for the elements of G, you can use
d/dp G^-1 = -G^-1 (d/dp G) G^-1
which is all right numerically, But if you want to do the whole thing symbolically, unless the size of G is really small this will turn into a huge intractable mess of symbolic spaghetti very quickly.
댓글 수: 2
David Goodmanson
2024년 3월 15일
If you know (d/dp G) either symbolically or numerically then you can get it numerically, and after that it would appear that numerical evaluation of the expression -G^-1 (d/dp G) G^-1 for a 20x20 should work reasonably well, unless G is close to being singular and has a bad condition number..
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!