Finite Element Analysis for Fixed Ended Beam with a Point Load example: I am getting this error: Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the se

조회 수: 4 (최근 30일)
Fixed Ended Beam with Point Load Example
%Data
E = 2.1E5; % N/mm^2
L = 6000; % length in mm
I = 78E6; % mm^4
Elemental Stiffness Matrix
Const = (E*I)/(L^3);
%Since we only have one element this is the overall
%stiffness matrix
KE1 = [12 6*L -12 6*L;
6*L 4*L^2 -6*L 2*L^2;
-12 -6*L 12 -6*L;
6*L 2*L^2 -6*L 4*L^2];
KE1 = Const*KE1;
Solution
K = KE1;
KT = K;
KT(:,1) = 0;
KT(1,:) = 0;
KT(1,1) = 1;
KT(:,2) = 0;
KT(2,:) = 0;
KT(2,2) = 1;
KT(:,4) = 0;
KT(4,:) = 0;
KT(4,4) = 1;
KT(:,5) = 0;
KT(5,:) = 0;
KT(5,5) = 1;
KT(:,6) = 0;
KT(6,:) = 0;
KT(6,6) = 1;
KT
FT = [0;0; -50;0; 0;0];
d = inv(KT)*FT
F = K*d

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by