Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
super bad
super bad am 7 Okt. 2017
Kommentiert: super bad am 7 Okt. 2017
1 a
A= ----- ; B= -----
s + 2 s+b
1/ create tranfer function A and B
2/ A+B=?
  7 Kommentare
Star Strider
Star Strider am 7 Okt. 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 am 7 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by