Nested cells matlab -


i have 73 x 1 cell, each of cells contains 16 x 1 cell , each of cells image. there easy way can convert 1 big array of cells containing images? many thanks.

enter image description here

if c cell, use b = [c{:}] create 16×73 cell b every column 1 of original 16×1 cell elements. works, because c{:} accesses every element in cell c , brackets ([ ]) group these elements 1 array again. possible, because every element in c of same type , size.

use b = b(:) 1168×1 cell (73*16=1168), if want. either way, b{n} accesses n-th image.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -