When i use cvx to solve this proble, something wrong occurs, can you help me?

If you examine the input data values in the statement generating the error, I think you will see at least one of them is NaN, which CVX can’t deal with.