Representation of the vector array of Z-transform

6 views (last 30 days)
% Step 2: Define the Desired Output Vector z with delays ranging N
z = zeros(M+1, 1);
for i = 0:M
z(i+1) = (1)^(-i); % Constructing the z vector with terms corresponding to delays z^{-i}
end
disp('The z vector z:')
disp(z);
Is this code correct for writing this vector array here z represents Z transform terms

Answers (1)

Star Strider
Star Strider on 15 Oct 2024
Yopu can check it against the Symbolic Math Toolbox iztrans function result —
syms z
Z = [1 z^-1 z^-2 z^-3].'
t = iztrans(Z)
.

Community Treasure Hunt

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

Start Hunting!