I define a matrix using cell, like:
A = cell(2,2)
b = ones(2,2)
A[1,1] = b
A[1,2] = b
A[2,1] = b
A[2,2] = b

Then I want to make A a 4*4 2-D array:
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0

How to do this?


Reply via email to