Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to store a series of single rows having different sizes in to a single matrix side by side ?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
John D'Errico
2016-9-4
编辑:John D'Errico
2016-9-4
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
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!