Minimize a quadratic function - MATLAB Cody - MATLAB Central

Problem 60291. Minimize a quadratic function

Difficulty:Rate
Write a function to minimize the function F(x,y,z) =ax^2+by^2+cz^2-dxy+exz+fz+g. The coefficients a, b, and c will be positive. Give the coefficients in a vector coeffs = [a b c d e f g], return the point (x,y,z) at which the function is minimum as well as the minimum value.

Solution Stats

83.33% Correct | 16.67% Incorrect
Last Solution submitted on May 14, 2024

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers7

Suggested Problems

More from this Author303

Problem Tags

Community Treasure Hunt

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

Start Hunting!