hi.I don't know how to create B...help me pls.

1 次查看(过去 30 天)
1 a
A= ----- ; B= -----
s + 2 s+b
1/ create tranfer function A and B
2/ A+B=?
  7 个评论
Star Strider
Star Strider 2017-10-7
In my Answer to your previous Question, in which I supplied anonymous and inline functions, amongst other approaches, that allow you to pass those parameters as arguments to the tf function, you said that none of them worked, yet those are the only possible options.
super bad
super bad 2017-10-7
I tried your ways but the result was not a tranfer function. Perhaps because of our differences in language, I can not express exactly what I want for you.

请先登录,再进行评论。

回答(1 个)

M
M 2017-10-7
Hello,
to create transfer functions in Matlab, you should look at the 'tf' function :
sys = tf(Numerator,Denominator)
  1 个评论
super bad
super bad 2017-10-7
hello. I know use a command 'tf'.but it is only executed to numberic data.
ex: A=tf([1 1],[1 1 1]);
you can't use it for parameters (a,b) like my example.

请先登录,再进行评论。

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by