0
import cvxpy
from cvxpy import semidefinite
semidefinite(12,'S')

gives:

Expression(AFFINE, UNKNOWN, (12, 12))

Is there any similar function in MATLAB (2021a)?

Rodrigo de Azevedo
  • 1,097
  • 9
  • 17
Barbab
  • 266
  • 1
  • 8
  • You found a function which you don't understand and ask for a similar function in some other environment? What are you doing? – sascha Apr 05 '21 at 16:18
  • Sorry that is not my question, I edited it out. I am asking for a similar function in Matlab I know there are multiple convex optimization toolboxes. – Barbab Apr 05 '21 at 16:21
  • Well.. there is only one DCP-based (where those expressions come from) and you already tagged it. Everything more makes not much sense without context and is also off-topic here. – sascha Apr 05 '21 at 16:23

0 Answers0