truss system problem solve for matlab
7 views (last 30 days)
Show older comments
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/504528/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/504533/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/504538/image.png)
3 Comments
ibrahim Çevikgil
on 14 Jan 2023
Bilal merhaba aktif olarak burdaysan dönüş sağlayabilir misin bu yoruma sorumu özel olarak iletiyim.
Answers (1)
Manikanta Aditya
on 20 Jun 2022
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:
0 Comments
See Also
Categories
Find more on Structural Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!