How to represent del Z in the following expession in MATLAB this Z is Z-transform ?

37 ビュー (過去 30 日間)
Rohitashya
Rohitashya 2024 年 10 月 21 日
コメント済み: Rohitashya 2024 年 11 月 11 日 8:01
Is my lines of code correct for representation of del Z ???? which is
syms z
Z = [1 z^-1 z^-2 z^-3 z^-4 z^-5 z^-6 z^-7 z^-8 z^-9 ].';
t = iztrans(Z);
or
function Z = Z_vector(z, N)
% Z_vector generates the vector Z(z) = [1, z^(-1), ..., z^(-N+1)]
% Input:
% z - the variable in the z-domain
% N - the number of elements in the vector
Z = z .^ (0:-1:-(N-1));
end
Please any modification or suggestions for del Z????
  1 件のコメント
Walter Roberson
Walter Roberson 2024 年 10 月 21 日
is described as based delay but you do not appear to be using 1- anywhere in your implementations.

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

採用された回答

Arnav
Arnav 2024 年 11 月 4 日 7:34
According to the paper, is the based delay vector, where z is substituted by in .
You can refer to the below code to obtain by symbolic substitution:
syms z
function Z = Z_vector(z, N)
Z = (z .^ (0:-1:-(N-1))).';
end
Z = Z_vector(z, 10);
del_Z = subs(Z, z, 1 / (1-z^-1))
You can refer to the following documentation link for more information about subs function:
Hope that helps.
Arnav

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by