problem in summation of two transfer function
48 views (last 30 days)
Show older comments
Hello guys,
I have defined two transfer function as below:
numerator1 = 1;
denominator1 = [2,1];
sys1 = tf(numerator1, denominator1)
sys1 =
1
-------
2 s + 1
numerator2 = 2;
denominator2 = [2,1];
sys2 = tf(numerator2, denominator2)
sys2 =
2
-------
2 s + 1
when I use
sys3 = sys1 + sys2
I get the multiple version of two TF while I expect to get normal summation
I want this:
sys3 =
3
-------
2 s + 1
PS: I already tested minreal(sys3) and sys3 = parallel(sys1, sys2), again same (multiply) result!
where am I doing wrong?
0 Comments
Accepted Answer
Paul
on 11 Jan 2022
sys1 = tf(1,[2 1]);
sys2 = tf(2,[2 1]);
sys3 = sys2 + sys1
minreal(sys3)
minreal(parallel(sys1,sys2))
minreal() normalizes the denominator to have unity leading coefficient. But it does give the correct answer. Is ths not the desired/expected result?
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!