assemble two matrix into big matrix

1 Ansicht (letzte 30 Tage)
bahareh bshrt
bahareh bshrt am 5 Feb. 2021
Kommentiert: madhan ravi am 5 Feb. 2021
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

Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by