Path: news.mathworks.com!not-for-mail
From: "Pascal Gahinet" <pascal@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab transfer functions
Date: Sun, 29 Mar 2009 11:04:28 -0400
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <gqo2ls$8c9$1@fred.mathworks.com>
References: <19909950.1238160439693.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: vpn-client-122-39-ah.mathworks.com
X-Trace: fred.mathworks.com 1238339068 8585 144.212.122.39 (29 Mar 2009 15:04:28 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 29 Mar 2009 15:04:28 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:528472


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