How to combine cell arrays to form one nested cell array entry
Hello, I have a variable (X) that is a cell array (size 64X634). In the each location of cell array X, there is a nested 1×2 cell array.
How can I combinethe nested 1×2 cell arrays across the 634 columns in X such that the variable(X) is now the desired size of 64×1, where each row entry of the cell arrray X contains the new 634×2 nested cell array?
In other words, I want to combine each of the 1×2 cell arrays found in the columns of the original variable(X) so that each row of variable(X) only has one column (now a nested cell array with all the original 1×2 nested cell arrays). Thanks!Hello, I have a variable (X) that is a cell array (size 64X634). In the each location of cell array X, there is a nested 1×2 cell array.
How can I combinethe nested 1×2 cell arrays across the 634 columns in X such that the variable(X) is now the desired size of 64×1, where each row entry of the cell arrray X contains the new 634×2 nested cell array?
In other words, I want to combine each of the 1×2 cell arrays found in the columns of the original variable(X) so that each row of variable(X) only has one column (now a nested cell array with all the original 1×2 nested cell arrays). Thanks! Hello, I have a variable (X) that is a cell array (size 64X634). In the each location of cell array X, there is a nested 1×2 cell array.
How can I combinethe nested 1×2 cell arrays across the 634 columns in X such that the variable(X) is now the desired size of 64×1, where each row entry of the cell arrray X contains the new 634×2 nested cell array?
In other words, I want to combine each of the 1×2 cell arrays found in the columns of the original variable(X) so that each row of variable(X) only has one column (now a nested cell array with all the original 1×2 nested cell arrays). Thanks! nested cell arrays, concatenate cell arrays MATLAB Answers — New Questions