Thread Subject: Matlab transfer functions

Subject: Matlab transfer functions

From: coolkav55

Date: 27 Mar, 2009 13:26:49

Message: 1 of 2

Hey,

How would i go about entering this transfer function into matlab?

K( 1 + 1/Tis + Td(s) )( 1/(0.44s +1)(0.17s+1) )

Its the closed loop TF with PID control.
I know how to enter the second bit, just not sure on the 1st half.
Thanks

Subject: Matlab transfer functions

From: Pascal Gahinet

Date: 29 Mar, 2009 15:04:28

Message: 2 of 2

If you have the Control System Toolbox, do

s = tf('s');
sys = K * (1+1/(Ti*s) + Td*s) / (0.44*s +1) / (0.17*s+1);

- pascal

"coolkav55" <kavanaa1@tcd.ie> wrote in message
news:19909950.1238160439693.JavaMail.jakarta@nitrogen.mathforum.org...
> Hey,
>
> How would i go about entering this transfer function into matlab?
>
> K( 1 + 1/Tis + Td(s) )( 1/(0.44s +1)(0.17s+1) )
>
> Its the closed loop TF with PID control.
> I know how to enter the second bit, just not sure on the 1st half.
> Thanks

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com