Can I define a variable as a cell?

Uncategorized
Jun 29, 2017
G

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.

M

How about using a multdimensional array? See mcg’s answer at How to change the number of variables based on the iteration number? .

G
Replying to #2

Thank you very much.It really helped me a lot .
I am still a greenhand and may be bothering you later.