I want make a variable x=cell(1,2),and each element in the cell x is a matrix.I don't find it in the guide.
or can I define 2 matrixs and make it a cell In later calculations?
Thank you for your help.
How about using a multdimensional array? See mcg's answer at http://ask.cvxr.com/t/how-to-change-the-number-of-variables-based-on-the-iteration-number/581 .
Thank you very much.It really helped me a lot .I am still a greenhand and may be bothering you later.