MATLAB Cell2Mat conversion row wise -
say have array a={[2x3],[3x3],[2x3]}. i'd know how convert matrix a=[2x3;3x3;1x3]
example:
a={[1 1 1;2 2 2],[3 3 3;4 4 4;5 5 5],[6 6 6]} to converted
b=[1 1 1;2 2 2;3 3 3;4 4 4;5 5 5;6 6 6] .
in illustration wrote need transpose in order utilize cell2mat :
cell2mat(a') will output b wanted
matlab
No comments:
Post a Comment