Cell to matrix conversion

1 次查看(过去 30 天)
Kamil Kacer
Kamil Kacer 2022-12-28
回答: Voss 2022-12-28
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.

回答(1 个)

Voss
Voss 2022-12-28
a = vertcat(v{:})

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by