assemble two matrix into big matrix

1 回表示 (過去 30 日間)
bahareh bshrt
bahareh bshrt 2021 年 2 月 5 日
コメント済み: madhan ravi 2021 年 2 月 5 日
How can I assemble
K1=[2 -1 -1 0;-1 2 0 -1;-1 0 2 -1;0 -1 -1 2] and
K2=[2 -1 -1 0;-1 2 0 -1;-1 0 2 -1;0 -1 -1 2] to
K_e= [2 -1 0 -1 0 0;-1 4 -1 0 -2 0; 0 -1 2 0 0 -1; -1 0 0 2 -1 0;0 -2 0 -1 4 -1 ; 0 0 -1 0 -1 2] ???
K1 is a matrix of a square element and K2 is the same. These two elements are common in two nodes. 4 is formed in the nodes that are common. The k_e matrix must be obtained by assembling of the K1 and K2

回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by