How to convert cell of array containing cell of array (n×n) order into a Single cell of arrays (n×n) order??
2 次查看(过去 30 天)
显示 更早的评论
Hello,I Have been trying to convert a cell of arrays containing cell of arrays into a single cell(both of same order N×n). I tried using "Newcellarray = cellfun('func',Existing cell array);". However, the array is not been able to generate. Request if someone may guide for the above said problem. Thanks in advance. ;)
0 个评论
回答(1 个)
KALYAN ACHARJYA
2023-4-30
cell_1={3,4,5;7,8,9}
cell_2={13,14,15;17,18,19}
new_cell=[cell_1,cell_2]
new_cell=[cell_1;cell_2]
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!