syms Km Zm Ym [2 2]
syms Z R S L
Z=R+S*L
Km=[1 Z; 0 1]
Zm
% Relation between Km and Zm
Zm1_1=(Km1_1/Km2_1)
Zm1_2=(det(Km)/Km2_1)
Zm2_1=(1/Km2_1)
Zm2_2=(Km2_2/Km2_1)

댓글 수: 1

ravi teja
ravi teja 2021년 10월 12일
Zm result in matrix form. which command should be used?

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2021년 10월 12일

0 개 추천

syms Km Zm Ym [2 2]
syms Z R S L
Z=R+S*L ;
Km=[1 Z; 0 1] ;
Zm = sym('Zm',[2 2]) ;
% Relation between Km and Zm
Zm(1,1)=(Km1_1/Km2_1) ;
Zm(1,2)=(det(Km)/Km2_1) ;
Zm(2,1)=(1/Km2_1) ;
Zm(2,2)=(Km2_2/Km2_1) ;
Zm
Zm = 

댓글 수: 2

ravi teja
ravi teja 2021년 10월 12일
thankyou for the answer but i need the Zm matrix with final result performing the calculations. that is Zm is infinite matrix
KSSV
KSSV 2021년 10월 12일
syms Km Zm Ym [2 2]
syms Z R S L
Z=R+S*L ;
Km=[1 Z; 0 1] ;
Zm = sym('Zm',[2 2]) ;
% Relation between Km and Zm
for i = 1:2
for j = 1:2
Zm(i,j) = Km(i,j)/Km(2,1) ;
end
end

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품

태그

질문:

2021년 10월 12일

댓글:

2021년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by