Creating transfer function with a variable gain "k"
51 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Let's say we have a variable gain "k" in series with H(s)=(s*0.5-1)/(s*(s+1)^2), how may I get the complete transfer function with the variable K in matlab out of this? I don't want to use simulink.
0 Kommentare
Antworten (4)
Robert
am 1 Okt. 2016
This problem was never really solved and now i have the same one. How do you handle this? You create a transfer function with tf function but it does not allow for adding gain?
Makes no sense to me
0 Kommentare
Yamac Tan
am 16 Apr. 2020
Bearbeitet: Yamac Tan
am 16 Apr. 2020
I have the same problem right now but I cannot find an exact solution. I have a closed loop negative feedback model with the static gain as "K" on the upper branch. I need to show "Input/Output = Transfer Function" with the variable "K". Still makes no sense.
2 Kommentare
Paul Kroemer
am 29 Okt. 2020
I have the same Problem right now, so i wanted to ask if you found a solution for it? Thanks for your help.
Paulo Silva
am 30 Mai 2011
K=1:10
sys=K*H(s) %replace H(s) with your transfer function
sys(1) is your system with gain K=1 and so on until sys(10) -> K=10
you can also use functions like the step
step(sys) %this will plot your system response to a step for each gain K
5 Kommentare
Paulo Silva
am 30 Mai 2011
If you have the symbolic toolbox take a look at this
http://www.mathworks.com/matlabcentral/answers/6355-how-do-i-get-the-coefficients-of-this-symbolic-expression
Prajith S A
am 22 Aug. 2022
s = tf('s'); % Assign variable s, as variable of the transfer function
sys = (s+1)/(sˆ2+2*s+1)
s = zpk('s');
sys = (s+1)/(sˆ2+2*s+1) % Returns transfer function in factored form
0 Kommentare
Siehe auch
Kategorien
Mehr zu Stability Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!