Are there any other ways(function) of finding jacobian matrix numerically beside the function numjac
조회 수: 3 (최근 30일)
이전 댓글 표시
Are there any other ways(known function) of finding jacobian matrix numerically beside the function numjac?
basically I am going to input something like x=[x1 x2 x3 .....xn]' into a function such as x'*x and find its jacobian
댓글 수: 0
채택된 답변
Vladimir Sovkov
2019년 11월 18일
The function you describe is no more than the squared norm of the vector x, i.e. it is a scalar function of a vector argument.
Its Jacobi matrix is just the doubled vector: 2*x.
댓글 수: 6
Vladimir Sovkov
2019년 11월 18일
I am unaware about other call functions. In my opinion, it is rather easy to find the Jacobi matrix "manualy" via a straightforward computing of the necessary derivatives by using either the finite-differenece algorithm or the Fourier-transform algorithm.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!