Azzera filtri
Azzera filtri

have anyone done SOS (sum of squares, optimization ) in matlab

4 visualizzazioni (ultimi 30 giorni)
i dont understand where to start

Risposte (2)

John D'Errico
John D'Errico il 20 Ago 2015
Modificato: Walter Roberson il 10 Giu 2024
This is not a question, but an admission of cluelessness, and a plea for help. A complete answer would fill a book, a rather large one.
help polyfit
help nlinfit
help lsqnonlin
help lsqcurvefit
help lsqlin
help fminsearch
You start at the beginning. You start reading. You start writing code. TRY SOMETHING.
And, if this is homework, so you cannot use those tools, you...
  1. compute the residuals for any set of parameters.
  2. square them.
  3. add them up.
  4. Minimize that sum.
  1 Commento
Cedric
Cedric il 10 Giu 2024
Modificato: Walter Roberson il 10 Giu 2024
> This is not a question, but an admission of cluelessness, and a plea for help. A complete answer would fill a book, a rather large one.
I understand your discontent to lack of research from the poster, however. Anyone like me who searches this exact question on Google arrives to this unhelpful answer 10 years later. The poster referred to sum of squares programming which the steps you listed are not directly helpful to convert the SOS program into a semidefinite one, to be solved efficiently.
For anyone coming here: Look into sostools => https://www.cds.caltech.edu/sostools/

Accedi per commentare.


Cedric
Cedric il 10 Giu 2024
Modificato: Walter Roberson il 10 Giu 2024

Community Treasure Hunt

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

Start Hunting!

Translated by