How do I write the transferfunksjon in Matlab

Hi!
How do I write the transfer function:
100000/((s/100 + 1)*(s/100000 + 1))
Thanks for answers.

답변 (1개)

Sebastian Castro
Sebastian Castro 2015년 10월 6일

0 개 추천

If you have Control Systems Toolbox, the tf (transfer function) or zpk (zero-pole-gain) functions will be very helpful. Since your transfer function is already factored, it looks like zpk is the way to go.
We know
  • There are no zeros
  • The poles are -100 and -100000
  • The gain is 100000
So,
>> sys = zpk([],[100 100000],100000)
That's it!
- Sebastian

댓글 수: 2

Thanks a lot for your answer :) But if I want to use the num and den code, what would I den use for den before I use G= tf(num, den)?
You can also build it from scratch using 's' as follows:
s = tf('s');
num = 100000;
den = ((s/100)+1)*((s/100000)+1)
sys = num/den
- Sebastian

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

카테고리

도움말 센터File Exchange에서 Dynamic System Models에 대해 자세히 알아보기

태그

질문:

2015년 10월 6일

댓글:

2015년 10월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by