Cell to matrix conversion

1 Ansicht (letzte 30 Tage)
Kamil Kacer
Kamil Kacer am 28 Dez. 2022
Beantwortet: Voss am 28 Dez. 2022
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.

Antworten (1)

Voss
Voss am 28 Dez. 2022
a = vertcat(v{:})

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by