help in converting matrix

2 ビュー (過去 30 日間)
grace lim
grace lim 2022 年 3 月 10 日
コメント済み: David Hill 2022 年 3 月 11 日
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 件のコメント
grace lim
grace lim 2022 年 3 月 11 日
How do I do the conversion
David Hill
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 ExchangeNumbers and Precision についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by