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 comentarios

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

Iniciar sesión para comentar.

Respuestas (1)

Manikanta Aditya
Manikanta Aditya el 20 de Jun. de 2022

0 votos

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:

Categorías

Productos

Versión

R2019a

Preguntada:

el 30 de En. de 2021

Comentada:

el 14 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by