help in converting matrix

조회 수: 1 (최근 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 CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by