symbolic differentiation to find analytical expressions that are time-consuming to calculate manually?

조회 수: 2 (최근 30일)
Given a function of two variables
f(x,y) =
I want to find the analytial expression of the determinant of the Hessian of f. are real numbers that I can not specify further, and are scalar functions that I also can not specify further because they depend on n.
If I compute, for instance, the partial derivatives on a paper, I would write
It is quite time-consuming and messy to do similar calculations manually on a paper.
I know that symbolic differentiation can be used in a context like
syms x
f = x^2
diff(f,x) =
2x
but can it also be applied to expressions that are not completely defined like in my context?
  댓글 수: 10
SA-W
SA-W 2023년 6월 6일
But the E_i are not convex. In 1d, the N_i resemble hat-functions which are not convex.
So I think I have to incorporate "convexity" via the E_i.
Torsten
Torsten 2023년 6월 6일
편집: Torsten 2023년 6월 6일
Ok, then my answer holds: mission impossible (this time with no happy ending).

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by