Can‘t cvx convert to double

You need to use (declare) expression holders (arrays). I.e., use the expression statement for any expressions in an array.

In the future, please copy and paste your code using Preformatted text icon, rather than posting an image.

Also, having numerical value such as 8e-31 has the potential for causing numerical trouble in your program. You should change units so that non-zero input numbers are within a small number of orders of magnitude of one.

Ok,thank you for your answers, next I will pay attention,sorry