help in converting matrix

1 Ansicht (letzte 30 Tage)
grace lim
grace lim am 10 Mär. 2022
Kommentiert: David Hill am 11 Mär. 2022
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 Kommentare
grace lim
grace lim am 11 Mär. 2022
How do I do the conversion
David Hill
David Hill am 11 Mär. 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]);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by