hi how to solve below eqation in matlab command window in tf command
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
germanbrain common
am 12 Sep. 2019
Beantwortet: David K.
am 12 Sep. 2019
how to put this below equation in command windows. here s2 means s to the power 2
H(S)=((s2 * Kd )+ (S * Kp) + Ki)/ s2(1+Kp) +s(1 +kp) +Ki
i want to pass numratoe to num and denominator to den varible
finally a=tf(num,den)
0 Kommentare
Akzeptierte Antwort
David K.
am 12 Sep. 2019
The tf function expects the num and den to be matrices that hold the coefficients to the numerator and denominator. In your case it would look like this:
num = [Kd , Kp , Ki];
den = [(1+Kp) , (1+kp) , Ki];
a = tf(num,den)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu PID Controller Tuning 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!