Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.9K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

How to combine two local matrices into one global matrix help.

Posted 5 years ago

Hello I am having a hard time finding a code to combine two local matrices. I found this online but it does not seem to be working. The example is a bar under axial force. Element one is node 1 to 3, Element 2 is 3 to 5.

Print["Global Stiffness Matric"]
Ksys=zero( 5,5);
Ksys( 1,3)=Ksys( 1,3)+K1;
Ksys( 3,5)=Ksys( 3,5)+K2; 
Ksys//MartixForm

Thank you!

POSTED BY: Nicole Visser

Hey, Nicole, Is it what you wanted?

POSTED BY: Estevao Teixeira
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard