Function of a matrix of variables

1 vue (au cours des 30 derniers jours)
Christopher Morrow
Christopher Morrow le 30 Mar 2021
Modifié(e) : Matt J le 30 Mar 2021
I am trying to find minimum and maximum values of f=(1/2*X'*K*X)-(X'*F), where X is a 3x1[X1 X2 X3]' matix of varibles, K is a 3x3 matrix of real numbers, and F is a 3x1 Matrix of real numbers. I am using the conjugate gradient method of linear finite elemental analysis and wish to find the points at which the function "f" have max and min points. Any and all help will be appreciated.

Réponses (1)

Matt J
Matt J le 30 Mar 2021
Modifié(e) : Matt J le 30 Mar 2021
Assuming X are the unknowns, then the function is quadratic. In the absence of constraints, a quadratic function cannot have both finite maximizing and minimizing points unless K=0. If K is positive definite, the minimizing point is given analytically by setting the gradient to zero, leading to,
X=K\F
There are no maximizing points.

Catégories

En savoir plus sur Quadratic Programming and Cone Programming dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by