how to merge rows?

Hello, i have 4 * 6 cell where each cell inturn contains 67*177 size..i want to combine every cell which means 67*177*24 must be my final cell size..

Answers (1)

KSSV
KSSV on 25 Apr 2017

0 votes

Let A be your cell...
iwant = A(:) ;
You can use reshape also.

3 Comments

No actually,what i want is: i have a cell array by name Result with size 1*664 where Result{1,1} is of size 4*6..in turn Result{1,1}(1,1)=67 * 177...so,finally the output must be of size 1* 664 where output{1,1}=1*284616 (where 67 * 177 *24 =284616)...i am sending you the screenshots..please do have a look and tell me how to do this..
Jan
Jan on 25 Apr 2017
Edited: Jan on 25 Apr 2017
The screenshot is such small on my desktop, that I cannot read it. I do not understand the description also:
  • R is a {1 x 664} cell vector.
  • R{1,1} is an array of the size 4 x 6, but is this a double array or another cell array?
  • R{1,1}(1,1) is "67 * 177..." Is this a string? Or do you mean an array with the dimension [67 x 177]? What does "..." mean here?
  • I do not see the connection to the original question: Where is the "4 * 6 cell"? What does "combine" mean in the original question?
R{1,1} is also an cell array..R{1,1}(1,1) is logical cell array..R{1,1}is 4 * 6 cell array ...

Sign in to comment.

Asked:

on 25 Apr 2017

Commented:

on 25 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!