truss system problem solve for matlab

a=cos(pi/6);
b=cos(pi/3);
% Fab Fag Fbc Fbg Fcd Fcf Fcg Fde Fdf Ffe Fgf Ax Ay Ey
T=[ b 1 0 0 0 0 0 0 0 0 0 1 0 0 ;% Ax
a 0 0 0 0 0 0 0 0 0 0 0 1 0 ;% Ay
-b 0 1 b 0 0 0 0 0 0 0 0 0 0 ;% Bx
-a 0 0 a 0 0 0 0 0 0 0 0 0 0 ;% By
0 0 -1 0 1 b b 0 0 0 0 0 0 0 ;% Cx
0 0 0 0 0 a a 0 0 0 0 0 0 0 ;% Cy
0 0 0 0 -1 0 0 b b 0 0 0 0 0 ;% Dx
0 0 0 0 0 0 0 a a 0 0 0 0 0 ;% Dy
0 0 0 0 0 0 0 -b 0 -1 0 0 0 0 ;% Ex
0 0 0 0 0 0 0 -a 0 0 0 0 0 1 ;% Ey
0 0 0 0 0 -b 0 0 -b 1 -1 0 0 0 ;% Fx
0 0 0 0 0 -a 0 0 -a 0 0 0 0 0 ;% Fy
0 -1 0 -b 0 0 -b 0 0 0 1 0 0 0 ;% Gx
0 0 0 -a 0 0 -a 0 0 0 0 0 0 0 ];% Gy
F=[ 0; 0;0;0;0; 0;0; 0;0; 0;0;-8;0;-6 ]; % Applied forces, as shown on the truss
Y=inv(T);
(Y)*(-F)

3 Kommentare

darova
darova am 1 Feb. 2021
Maybe you wiil be interested in: LINK
ibrahim Çevikgil
ibrahim Çevikgil am 14 Jan. 2023
Bilal merhaba aktif olarak burdaysan dönüş sağlayabilir misin bu yoruma sorumu özel olarak iletiyim.
Bilal Ates
Bilal Ates am 15 Jan. 2023
Merhaba İbrahim,
atesbilal@msn.com Linkedin/atesbilal

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Manikanta Aditya
Manikanta Aditya am 20 Jun. 2022

0 Stimmen

Hi Bilal,
I understand that you are trying to solve truss system problems in MATLAB. I found a code for reference, which returns the global stiffness matrix of a given truss system. So, you could refer to the link below to get some understanding of the solution.
For reference:

Kategorien

Produkte

Version

R2019a

Gefragt:

am 30 Jan. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by