How do I convert a 5x4cell to a 5x4matrix?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
In attachment is my example of the 5x4 cell. I want to create a 5x4 matrix of it. How do I do this?
Answers (2)
Guillaume
on 6 Jan 2015
0 votes
Your 5x4 cell consists of vectors of different size totaling up 676 + 501 + ... + 358 = way more than 20 elements. A 5x4 matrix by definition only contains 20 elements.
In other words, what you want is not possible or you've not stated what you want correctly.
2 Comments
Sam
on 6 Jan 2015
You can:
s = struct('somefieldname', C);
The cell is probably easier to manipulate though.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!