How to express this in matlab


A.*B is standard MATLAB, and is supported by CVX. However, due to CVX’s DCP rules, except for Geometric Programming (GP) mode, , on a per element basis, only one of the elements in A and its corresponding element in B can be a CVX variable or expression (unless the corresponding elements of A and B are the same, for instance, both x)

Thank you very much, Mark.