How to convert a cell array to a compatible matrix?
Show older comments
I have a cell array which is filled with matrices of varying size, could you help me to convert it to matrix with filling zeros at in between columns,
in this case the matrix size is ought ot be 41x 41 of double type.

1 Comment
KSSV
on 16 Jul 2021
Fill the empty cells with appropriate zero matrices and use Cell2mat.
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!