help in converting matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
David Hill
le 11 Mar 2022
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]);
Réponses (0)
Voir également
Catégories
En savoir plus sur Conversion Between Symbolic and Numeric dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!