フィルターのクリア

Making a matrix dimension biggere

1 回表示 (過去 30 日間)
Rasmus
Rasmus 2014 年 2 月 25 日
編集済み: Mischa Kim 2014 年 2 月 25 日
Okay I have two matrices
k_fil =
-46 -43 -26 -14 7 19 11 32 39 45 45
0 4 7 7 44 44 7 7 15 15 0
and
k_omv =
45 45 39 32 11 19 7 -14 -26 -43 -46
0 -15 -15 -7 -7 -44 -44 -7 -7 -4 0
How do i add these, so that i get a matrix that is 2x22 ??

採用された回答

Mischa Kim
Mischa Kim 2014 年 2 月 25 日
編集済み: Mischa Kim 2014 年 2 月 25 日
Try
k = [k_fil k_omv]
alternatively, you could use
k = horzcat(k_fil, k_omv)
assuming that you do want to concatenate the arrays.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by