Can't write transfer function properly.

2 views (last 30 days)
Hello everyone , need help about writing a transfer function . I know how we normally write the code for it but know i'm not able do it correctly.Always getting different errors

Accepted Answer

Star Strider
Star Strider on 26 Feb 2022
MATLAB does not recognise implicit multiplication.
Be sure to include multiplication operators (*) when you code ‘G’ just after your initial tf call.
  5 Comments
Walter Roberson
Walter Roberson on 26 Feb 2022
Edited: Walter Roberson on 27 Feb 2022
s = tf('s')
s = s Continuous-time transfer function.
sys = ((s^2+3*s+10)*(s+5)) /((s+3)*(s+4)*(s^2+5*s+100))
sys = s^3 + 8 s^2 + 25 s + 50 ------------------------------------- s^4 + 12 s^3 + 147 s^2 + 760 s + 1200 Continuous-time transfer function.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!