Cell to matrix conversion

조회 수: 2 (최근 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에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by