how to add to matrix of different dimensions

3 ビュー (過去 30 日間)
rajesh kumar
rajesh kumar 2018 年 6 月 27 日
コメント済み: Walter Roberson 2018 年 6 月 27 日
Ex: a=3*10; b=b+a; in the first iteration b is getting 3*10, next iteration if a is 7*10 getting error. how to rectify
  6 件のコメント
rajesh kumar
rajesh kumar 2018 年 6 月 27 日
actually in the image shown category 1 i.e first four rows i sorted, ok. next category 2 i.e next four rows i sorted, i want to combine i.e not addition to come original size.
Walter Roberson
Walter Roberson 2018 年 6 月 27 日
If b is 3 x 10 and a is 4 x 10 and you want to combine into a 7 x 10 array, then
b = [b; a];

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by