How can I merge 4*4 cell arrays to form a 256*256 cell array?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Walter Roberson
le 22 Sep 2015
cell256 = [small_mat1{1}, small_mat1{3}; small_mat1{2}; small_mat1{4}];
Matt J
le 22 Sep 2015
C=arrayfun(@(i) vertcat(small_mat{:,i}),1:64,'uni',0);
merged=[C{:}];
0 commentaires
Voir également
Catégories
En savoir plus sur Import, Export, and Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!