thanks for professor Löfberg's reply,
but my problem is not at single variable
syms x -> sdpvar y
I have a problem that sym matrix x(2,2) -> sdpvar y(2,2)
when it is as matrix form, matrix element of x will represent as x1_1, x1_2, x2_1, x2_2,
but this will make a trouble that how to replace them with y(1,1), y(1,2), y(2,1), y(2,2)
thanks for your help!!
sincerely :)