Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to store a series of single rows having different sizes in to a single matrix side by side ?

1 view (last 30 days)
Find the attachment of the .mat file containing the cell format of size 15x3 . I need to store a particular series of rows having different sizes as side by side in a single matrix.
thanking you

Answers (1)

John D'Errico
John D'Errico on 4 Sep 2016
Edited: John D'Errico on 4 Sep 2016
You CANNOT use a regular matrix. Matrices are rectangular. So unless you are willing to pad the shorter ones with NaNs perhaps, you cannot use a matrix.
Instead, learn to use cell arrays.
help cell

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!