Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matrix Manipulation
Date: Mon, 15 Oct 2007 16:19:29 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 43
Message-ID: <ff03uh$663$1@fred.mathworks.com>
References: <feu03l$hds$1@fred.mathworks.com> <ff00ep$i41$1@fred.mathworks.com> <ff01m6$5a7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-06-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192465169 6339 172.30.248.36 (15 Oct 2007 16:19:29 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 15 Oct 2007 16:19:29 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1147901
Xref: news.mathworks.com comp.soft-sys.matlab:433008



"Dan Haeg" <haegd@msoe.edu> wrote in message
<ff01m6$5a7$1@fred.mathworks.com>...
> "Rob A" <rob.andolina@gmail.com> wrote in message
> <ff00ep$i41$1@fred.mathworks.com>...
> > This code can also be pasted into MATLAB or a new m-file to
> > be ran.  This may help when trying to analyze the problem.
> > 
> > I would appreciate any suggestions. Thank you
> 
> does this help?
> 
> [n,d] = numden(G_cl_temp)
> sym2poly(n)
> sym2poly(d)




Thank you for the suggestion!  I recently just found out
what I had to do from a classmate.  Don't think I could have
figured this out on my own! The solution is an extension of
yours.  


G_cl_temp = C*inv(s*eye(4) - A + B*F)*B

[num den] = numden(G_cl);
num1 = sym2poly(fliplr(coeffs(num)));
den1 = sym2poly(fliplr(coeffs(den)));

num2 = num1/den1(1);
den2 = den1/den1(1);

G_cl_D = tf(num2,den2)



Seems like a very odd way of doing it...but it seems to
work.  Thanks for the help!