Concatenate array from different main name struct

I have
First.A =[ 1; 2; 3];
First.B =[ 10; 20; 30];
Second.A=[ 97; 98; 99];
Second.B=[970; 980; 990];
How I can obtain (mantaining the same order of elements)?
Result.A=[ 1; 2; 3; 97; 98; 99];
Result.B=[10; 20; 30; 970; 980; 990];

 採用された回答

Birdman
Birdman 2017 年 12 月 23 日

0 投票

Result.A=[First.A;Second.A];
Result.B=[First.B;Second.B];

1 件のコメント

Alberto Mora
Alberto Mora 2017 年 12 月 23 日
Thank you so much. Easy solution.
Regards
Alberto

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

タグ

質問済み:

2017 年 12 月 23 日

コメント済み:

2017 年 12 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by