Undefined function 'times' for input arguments of type 'cvxdual'

As I told you in my answer at Log of sigmoid function , you can not use variable declared as dual variable other than to be associated, via: with a constraint.

Please do not keep tarting mew topics for follow-on questions from existing threads. Add a new post to the existing thread instead,