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개)

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by