フィルターのクリア

How to merge different matrices?

2 ビュー (過去 30 日間)
Max
Max 2016 年 2 月 2 日
コメント済み: Stephen23 2016 年 2 月 2 日
Hello
I have three different matrices:
S1 = [10x10.000 double]; S2 = [10x9.480 double]; S3 = [7x8.770 double];
And now, I would like to put all them together in one matrix or vektor.
Does anybody have an idea how can I realize that?
  1 件のコメント
Stephen23
Stephen23 2016 年 2 月 2 日
Putting them into one vector is easy:
vec = [S1(:);S2(:);S3(:)];
If you need more complicated "merging" than this, then you need to tell us, e.g. leading padding, trailing padding, value to pad with, dimension to concatenate along, etc, etc.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeNewton-Raphson Method についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by