Error while using cell2mat:

Error using cat Dimensions of matrices being concatenated are not consistent.
Error in cell2mat (line 86) m = cat(2,m{:});

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 8 Jul 2016
That means the sizes of your cells do not allow to concatenate them

2 Comments

So, what should I do?
Azzi Abdelmalek
Azzi Abdelmalek on 8 Jul 2016
Edited: Azzi Abdelmalek on 8 Jul 2016
You cells should contain matrices with the same number of rows

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!