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

1 Ansicht (letzte 30 Tage)
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 Kommentare
SA-W
SA-W am 6 Jun. 2023
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 am 6 Jun. 2023
Bearbeitet: Torsten am 6 Jun. 2023
Ok, then my answer holds: mission impossible (this time with no happy ending).

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by