Using operators for syms

1 次查看(过去 30 天)
Majid kh
Majid kh 2019-2-15
Hi dear, I execute this program:
syms S;
A=1/(S+1);
B=2/(S+3);
Result=A+B
but result is:
Result =
1/(S + 1) + 2/(S + 3)
How can i change result to become format like below?
Result =
(3*S)/( S^2+4*S+3)

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by