フィルターのクリア

How to conbine the array inside the structure?

4 ビュー (過去 30 日間)
tabw
tabw 2014 年 8 月 13 日
回答済み: Azzi Abdelmalek 2014 年 8 月 13 日
For example,
1X10 Struct
Structure(1)=1X5 array
Structure(2)=1X10 array
Is there a way to combine it into 1X15 array?
THanks

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 8 月 13 日
struct1=struct('f1',num2cell(1:10))
struct2=struct('f2',num2cell(1:5))
new_struct=struct('new_f',num2cell([struct1.f1 struct2.f2 ]))

その他の回答 (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