This is a trivial problem, but I am just starting out with Matlab and am not yet used to their way of thinking (and the syntax).
What I ask for will be obvious to anyone who has ever done anything with FEM or the like.
How did you assemble a large stiffness matrix from several small ones. Let's say you have (element 1) a local 4x4 stiffness matrix, the same for (element 2) - a different matrix, of course, but still 4x4.
What is the easiest way to do this:
[|--------| 0 0 ]
[| | 0 0 ]
[| |--|-----|]
[|-----|--| |]
[0 0 | |]
[0 0 |--------|]
(a33+b11, a34+b12,
(a43+b12, a44+b22, ...)
i.e. make "big"?
source
share