Assign elements in multidimensional struct to 2D array
2 views (last 30 days)
I have a 1xN multidimenstional struct, where each entry contains data of size 1xM.
for ii=1:5, C(ii).pts = rand(1,3); end
I would like an elegant way to get an NxM array as a concatinated output of the struct. Is this possible?
% Returns of size 1xMN
% Will not run but get something like this of size NxM