help in converting matrix
1 次查看(过去 30 天)
显示 更早的评论
below is the codes using syms symbolic,may i know how to convert the matrix Z using the formular into h
syms s C R w h11 h12 h21 h22 y11 y12 y21 y22
%s domain
Z=[1 (s*C)+R ;0 1] %matrix C series R
A=1
B=(s*C)
C=0
D=1
%formuar convert abcd to h
A= ((h11*h22)-(h12*h21))/h21
B=-h11/h21
C=-h22/h21
D=-1/h21
%convert z matrix using formular convertion
4 个评论
David Hill
2022-3-11
Your not making any sense. We have no idea what you are talking about. You can solve for h-coefficients in terms of A, B, C, and D.
syms h11 h12 h21 h22 A B C D
eqn1=A== ((h11*h22)-(h12*h21))/h21;
eqn2=B==-h11/h21;
eqn3=C==-h22/h21;
eqn4=D==-1/h21;
h=solve([eqn1;eqn2;eqn3;eqn4],[h11 h12 h21 h22]);
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!