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

2 vues (au cours des 30 derniers jours)
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 commentaires
SA-W
SA-W le 6 Juin 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 le 6 Juin 2023
Modifié(e) : Torsten le 6 Juin 2023
Ok, then my answer holds: mission impossible (this time with no happy ending).

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by