Flatten nested cell arrays

버전 1.0.0.1 (1.29 KB) 작성자: Manu R
Linearize a cell array tree structure
다운로드 수: 1.5K
업데이트 날짜: 2016/9/1

라이선스 보기

C1 = flatten({{1 {2 3}} {4 5} 6})
C2 = flatten({{'a' {'b','c'}} {'d' 'e'} 'f'})

% Outputs:
C1 =
[1] [2] [3] [4] [5] [6]
C2 =
'a' 'b' 'c' 'd' 'e' 'f'

인용 양식

Manu R (2026). Flatten nested cell arrays (https://kr.mathworks.com/matlabcentral/fileexchange/27009-flatten-nested-cell-arrays), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Matrices and Arrays에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0