Clear Filters
Clear Filters

assemble two matrix into big matrix

1 view (last 30 days)
bahareh bshrt
bahareh bshrt on 5 Feb 2021
Commented: madhan ravi on 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

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!