3 equations 4 unknowns
이전 댓글 표시
hello,
How do you make a matrix M 3x3 so the system is =k.MX (with X a 3x1 matrix [x,y,z] I think.)
x=k.(1.y+6.z)
y=k.(4.x+4z)
z=k.(0.x+1.y)
댓글 수: 2
Cris LaPierre
2020년 12월 13일
편집: Cris LaPierre
2020년 12월 13일
Does a period (1.y) mean multiplication (1*y)?
Also, I see 4 unknowns (k, x, y, z).
Jens Petit-jean
2020년 12월 13일
채택된 답변
추가 답변 (1개)
Bruno Luong
2020년 12월 13일
편집: Bruno Luong
2020년 12월 13일
>> M=[0 1 6; 4 0 4; 0 1 0];
>> [X,K]=eig(M);
>> k=1./diag(K);
% select 3rd eigen vector for example
>> X(:,3)
ans =
0.5508
0.8070
0.2131
>> k(3)*M*X(:,3)
ans =
0.5508
0.8070
0.2131
카테고리
도움말 센터 및 File Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
