is there a way of writing transfer functions in the format (s+1)(s+2) instead of (s^2+3s+2)? thanks

 채택된 답변

Star Strider
Star Strider 2017년 11월 26일

1 개 추천

Yes.
This works (in R2017b):
s = tf('s');
sys = (s+1)*(s+2)
sys =
s^2 + 3 s + 2
Continuous-time transfer function.
You have to supply the multiplication operator, or it will throw an error.

댓글 수: 2

Joaquim Monteiro
Joaquim Monteiro 2017년 11월 26일
thanks!
Star Strider
Star Strider 2017년 11월 26일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2017년 11월 26일

댓글:

2017년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by