There is no
ln function in MATLAB. But
log in MATLAB means natural logarithm.
&& is not allowed to be applied to cvx objects. However, you can use
0 <= a <= 1 . Or you can use two separate constraints.
Also note that
< are interpreted as
<= . if you need strict inequality, you need to use non-strict inequality with a “buffer” larger than solver tolerance. For instance,
b >= 1e-5.
You should carefully read CVX Users’ Guide http://cvxr.com/cvx/doc/