l1 = .1; %m
l2 = .06; %ml3 = .08; %mk1 = 5 ; %W/m*C
k2 = .8 ; %W/m*Ck3 = 15 ; %W/m*CK1 = (k1/l1) * [1 -1 ; -1 1] %W/C
K2 = (k2/l2) * [1 -1 ; -1 1] %W/CK3 = (k3/l3) * [1 -1 ; -1 1] %W/Ckg = [ K1(1,1) K1(1,2) 0 0 ; K1(2,1) (K1(2,2)+K2(1,1)) K2(1,2) 0 ; 0 K2(2,1) (K2(2,2)+K3(1,1)) K3(1,2); 0 0 K3(2,1) K3(2,2)]f = [ 0;0;0;0]t= [500 ; t2 ; t3 ; 100 ]f = kg * t
MATLAB: How would i solve for t2 and t3 in the last matrix? ive never dealt with variables in matrices before.
matricesmatrixvariables
Best Answer