Convert nested cell with unconsistent structure to mat and also reverse operation

I am not able to convert the data in cell format to mat. If it was only of one level we can use cell2mat and its reverse mat2cell.

3 Comments

What dimension you are expecting at the end?
The cells are non consistent, hence giving me an error "matrices being concatenated are not consistent "

Sign in to comment.

Answers (0)

Categories

Asked:

on 31 Mar 2017

Edited:

on 1 Apr 2017

Community Treasure Hunt

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

Start Hunting!