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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
SA-W
SA-W il 6 Giu 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 il 6 Giu 2023
Modificato: Torsten il 6 Giu 2023
Ok, then my answer holds: mission impossible (this time with no happy ending).

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by