필터 지우기
필터 지우기

How do I would I add several matrices into one large matrix? (Assembling a global stiffness matrix for FEA)

조회 수: 6 (최근 30일)
If I had several 4X4 matrices and I wanted to add them into one big matrix how might I go about this? (I am trying to create a global stiffness matrix of a bar separated into several elements by adding all of the element matrices). I've included an image that should explain what my general goal is.
I figure you would start by creating a large matrix to hold the smaller ones:
A = [1 1; 1 1];
B = [1 1; 1 1];
K = zeros(3,3);
how I would add A & B into K?

답변 (1개)

Peng Li
Peng Li 2020년 3월 26일

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by