<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engineersphere.com &#187; Papa_Smurf</title>
	<atom:link href="http://engineersphere.com/author/papa_smurf/feed" rel="self" type="application/rss+xml" />
	<link>http://engineersphere.com</link>
	<description>doesn&#039;t have to make sense to you, but it&#039;s probably great for your health.</description>
	<lastBuildDate>Fri, 28 Oct 2011 03:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Root Locus Method in MATLAB</title>
		<link>http://engineersphere.com/matlab/root-locus-method-in-matlab.html</link>
		<comments>http://engineersphere.com/matlab/root-locus-method-in-matlab.html#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:43:19 +0000</pubDate>
		<dc:creator>Papa_Smurf</dc:creator>
				<category><![CDATA[Control Systems]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[Root Locus]]></category>
		<category><![CDATA[root locus matlab]]></category>
		<category><![CDATA[root locus method]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1025</guid>
		<description><![CDATA[TweetTweetTo start out, setup the open loop transfer function. Next, you can choose to set up the MATLAB code in a few different ways. First make sure that both the numerator and denominator are in acceptable forms. [1 2 3] is the same as saying Using an example: We can write the numerator and denominator MATLAB codes as: &#62;&#62;numerator=[1]; [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/matlab/root-locus-method-in-matlab.html&via=EngineerSphere&text=Root Locus Method in MATLAB&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/matlab/root-locus-method-in-matlab.html&via=EngineerSphere&text=Root Locus Method in MATLAB&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>To start out, setup the open loop transfer function.</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=G%28s%29H%28s%29%20%3D%20%5Cfrac%7BK%2A%28numerator%29%7D%7B%28denominator%29%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='G(s)H(s) = \frac{K*(numerator)}{(denominator)} ' title='G(s)H(s) = \frac{K*(numerator)}{(denominator)} ' class='latex' /></p>
<p>Next, you can choose to set up the MATLAB code in a few different ways. First make sure that both the numerator and denominator are in acceptable forms.</p>
<p style="text-align: center;">[1 2 3] is the same as saying <img src='http://s.wordpress.com/latex.php?latex=s%5E%7B2%7D%2B2s%2B3%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='s^{2}+2s+3 ' title='s^{2}+2s+3 ' class='latex' /></p>
<p>Using an example:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=G%28s%29H%28s%29%20%3D%20%5Cfrac%7BK%7D%7B%28s%2B8%29%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='G(s)H(s) = \frac{K}{(s+8)} ' title='G(s)H(s) = \frac{K}{(s+8)} ' class='latex' /></p>
<p>We can write the numerator and denominator MATLAB codes as:</p>
<p>&gt;&gt;numerator=[1];</p>
<p>&gt;&gt;denominator=[1 8];</p>
<p>For a more complex problem we can bypass the long and tedious expansion process and use the convolution function in MATLAB.</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=G%28s%29H%28s%29%3D%5Cfrac%7BK%7D%7B%28s%2B1%29%28s%5E2%2B6s%2B18%29%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='G(s)H(s)=\frac{K}{(s+1)(s^2+6s+18)} ' title='G(s)H(s)=\frac{K}{(s+1)(s^2+6s+18)} ' class='latex' /></p>
<p style="text-align: left;">Here, the denominator is also represented by (s+1)*(s+3+3j)*(s+3-3j). Being three seperate parts, we can use convolution once for two of them, then use convolution again with the remaining part. Just look at the example:</p>
<p style="text-align: center;">conv( A , conv( B , C ) )  &#8212;&gt; denominator = conv( [1 1], conv( [1 3+3*j], [1 3-3*j] ) );</p>
<p style="text-align: left;">After we define our numerator and denominator in MATLAB, we can use the root locus function then set our axis parameters as follows.</p>
<p style="text-align: center;">&gt;&gt;rlocus( numerator, denominator )</p>
<p style="text-align: center;">&gt;&gt;axis([-10 10 -10 10])</p>
<p>Your plot should look similar to the following for this example:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1039" title="root-locus-plot" src="http://engineersphere.com/wp-content/uploads/2009/10/rootlocus1.jpg" alt="root-locus-plot" width="560" height="420" /></p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/matlab/root-locus-method-in-matlab.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

