Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
super bad
super bad il 7 Ott 2017
Commentato: super bad il 7 Ott 2017
1 a
A= ----- ; B= -----
s + 2 s+b
1/ create tranfer function A and B
2/ A+B=?
  7 Commenti
Star Strider
Star Strider il 7 Ott 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 il 7 Ott 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.

Accedi per commentare.

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by