Cell to matrix conversion
Show older comments
I have a cell like this. I want to make in one matrix. I can do this
a = [v{1}; v{2}; v{3}]
but it would take so long sing the cell has 1084 elements. Can you please help me. How sould i use for or something.

Answers (1)
Voss
on 28 Dec 2022
a = vertcat(v{:})
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!