Clear Filters
Clear Filters

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

1 view (last 30 days)
super bad
super bad on 7 Oct 2017
Commented: super bad on 7 Oct 2017
1 a
A= ----- ; B= -----
s + 2 s+b
1/ create tranfer function A and B
2/ A+B=?
  7 Comments
Star Strider
Star Strider on 7 Oct 2017
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 on 7 Oct 2017
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.

Sign in to comment.

Answers (1)

M
M on 7 Oct 2017
Hello,
to create transfer functions in Matlab, you should look at the 'tf' function :
sys = tf(Numerator,Denominator)
  1 Comment
super bad
super bad on 7 Oct 2017
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.

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!