How can I merge 4*4 cell arrays to form a 256*256 cell array?
1 view (last 30 days)
Show older comments
Actually I took a plaintext image,converted that to 8 bit binary and then did DNA mapping. After that i splitted that into 4*4 cell arrays(each element of that cell looks like 'ATCG' or something ) and did some operation. Now I want to merge all those cells to get the final 256*256 cell?
5 Comments
Answers (2)
Walter Roberson
on 22 Sep 2015
cell256 = [small_mat1{1}, small_mat1{3}; small_mat1{2}; small_mat1{4}];
Matt J
on 22 Sep 2015
C=arrayfun(@(i) vertcat(small_mat{:,i}),1:64,'uni',0);
merged=[C{:}];
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!