array of structures in matlab
조회 수: 5 (최근 30일)
이전 댓글 표시
how to implement array of structures in matlab.structure containing two fields.
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2015년 6월 29일
array1=1:10
array2=21:30
out=struct('field1', num2cell(array1),'field2',num2cell(array2))
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!