フィルターのクリア

expression rearranging using symbolic math toolbox

1 回表示 (過去 30 日間)
Mahesh Thorata
Mahesh Thorata 2017 年 4 月 13 日
回答済み: Nicolas Schmit 2017 年 9 月 1 日
Hi I have a expression like below
H_S = (b0 + ( (2/T)*((1-Z^-1)/(1+z^-1)) ) * b1) / (a0 + ( (2/T)*((1-Z^-1)/(1+z^-1)) ) * a1)
and using symbolic math toolbox, can i get something like below mentioned expression
H_S = ( (b0*T+2*b1) + ((b0*T-2*b1) * Z^-1) ) / ( (a0*T+2*a1) + ((a0*T-2*a1) * Z^-1) )
Basically i want to isolate Z^-1 here
Thanks in advance
  1 件のコメント
KSSV
KSSV 2017 年 4 月 13 日
編集済み: KSSV 2017 年 4 月 13 日
There is z and Z..both are different? or typo error?

サインインしてコメントする。

回答 (1 件)

Nicolas Schmit
Nicolas Schmit 2017 年 9 月 1 日
You can isolate the polynomial coefficients in Z this way:
[N, D] = numden(H_S);
coefsN = coeffs(N, Z);
coefsD = coeffs(D, Z);

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by