truss system problem solve for matlab
조회 수: 9 (최근 30일)
이전 댓글 표시
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
ibrahim Çevikgil
2023년 1월 14일
Bilal merhaba aktif olarak burdaysan dönüş sağlayabilir misin bu yoruma sorumu özel olarak iletiyim.
답변 (1개)
Manikanta Aditya
2022년 6월 20일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Structural Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!