How create a list of like this A{1}, A{2}, A{3}, A{4},... etc.?

조회 수: 2 (최근 30일)
Jozef Martinka
Jozef Martinka 2020년 2월 6일
답변: Steven Lord 2020년 2월 6일
Hello,
How I automatic create a list of like this A{1}, A{2}, A{3}, A{4},... etc. in Matlab?

답변 (1개)

Steven Lord
Steven Lord 2020년 2월 6일
If you already have a cell array A, use:
A{:}
to create a comma-separated list from A.
If you're trying to create the cell array A, see the "Create Cell Array" topic on this documentation page for examples of how to make a cell array.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by