how to write the transfer function of the expression

2 次查看(过去 30 天)
how to write the transfer function of the expression in Z domain.

采纳的回答

Walter Roberson
Walter Roberson 2018-6-9
num = 5;
denom = zeros(1, 71);
denom(20+50+1) = 10;
denom(-20+50+1) = 2;
denom = fliplr(denom);
g = tf(num, denom);
Except that theoretically what you posted has an additional 50 poles at 0.
  15 个评论
phoenix
phoenix 2018-6-10
编辑:phoenix 2018-6-10
I have attached the problem in details.I have specified A and B. but you didnt reply accordingly @ Walter Roberson.
Walter Roberson
Walter Roberson 2018-6-10
rand(N, 1) * 20 - 10 and rand(N, 1) * 20 - 10 are polynomial coefficients... for some polynomial or other.
We need numeric values for A and B for testing purposes, to prove that the function works. It is not possible for us to program in, for example,
A = syms('A', [5, 1]);
B = syms('B', [5, 1]);
to use A1, A2, A3, A4, A5, B1, B2, B3, B4, B5 as symbolic coefficients. Transfer functions created with tf() cannot use symbolic coefficients: they can only use purely numeric coefficients.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by