이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
SYNTAX:
OUT = soa2aos(IN)
OUT = soa2aos(IN, LCHK)
ARGUMENTS:
IN scalar structure, whose fields are arrays of the classes
'cell', 'numeric' or 'struct' and can be orianted as column, rows
or multidimensional.
LCHK scalar logical, optional input.
true (default) => the length of each field array must be the same.
false => field arrays can have different lengths.
OUT [Nx1] column array of N structures with the same fields of IN,
with scalar values. N is the maxium array length of the input
structure fields. Shorter arrays will results in empty fields in
the OUT structure.
EXAMPLE
IN.fld1 = {'a','b','cd'};
IN.fld2 = {'e';'fg';'123'};
IN.fld3 = [1 2];
IN.fld4 = struct('a',{{'one','two'},2});
OUT = soa2aos(IN, false)
인용 양식
Stefano Gianoli (2026). soa2aos(IN, LCHK) (https://kr.mathworks.com/matlabcentral/fileexchange/60104-soa2aos-in-lchk), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 3.0.0.0 | If the second optional parameter is true (default) the length of the input fields must be the same, otherwise if false the input fields can have different lengths. |
||
| 2.0.0.0 | Fields in the input structure can be
|
||
| 1.0.0.0 |
