Help with H(z) response function

7 views (last 30 days)
Hello, i have simple task. Calculate the transfer function H(z). Figure shows block diagram of the filters structure. I think transfer function is :
a_parallel = parallel(Hz1,Hz2);
b_serial = series(a_parallel,Hz3);
But i dont know how to write H1(z), H2(z), H3(z). Anyone can help me to write H1(z), H2(z), H3(z)?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 9 Jan 2015
Edited: Azzi Abdelmalek on 9 Jan 2015
ts=1 % Sample time
H1=tf([2/3 2/5 4/7],[1 0 0],ts)
H2=tf([4/3 8/5 3/7],[1 0 0],ts)
H3=tf([3 2 4],[1 0 0],ts)
H=(H1+H2)*H3
%or
H=series(parallel(H1,H2),H3)
  2 Comments
John Cober
John Cober on 9 Jan 2015
Edited: John Cober on 9 Jan 2015
Thank you. But why H is not equal to the answer in picture? And task H1, H2, H3 not equal to Matlab output window. Matlab H1 = Transfer function: (0.6667 z^2 + 0.4 z + 0.5714)/z^2 Task H1 = 2/3 + (2/5)*z^-1 + (4/7)*z^-2
Azzi Abdelmalek
Azzi Abdelmalek on 9 Jan 2015
The result is the same

Sign in to comment.

More Answers (1)

Honglei Chen
Honglei Chen on 9 Jan 2015
conv(([2/3 2/5 4/7]+[4/3 8/5 3/7]),[3 2 4])

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!