array of structures in matlab

2 ビュー (過去 30 日間)
sweta arya
sweta arya 2015 年 6 月 29 日
回答済み: Azzi Abdelmalek 2015 年 6 月 29 日
how to implement array of structures in matlab.structure containing two fields.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 29 日
array1=1:10
array2=21:30
out=struct('field1', num2cell(array1),'field2',num2cell(array2))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by