<?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>Engineer Sphere &#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>All the cool kids are doing it.</description>
	<lastBuildDate>Fri, 27 Aug 2010 18:50:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</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[To 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[<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><img class="aligncenter size-full wp-image-1039" title="rootlocus" src="http://engineersphere.com/wp-content/uploads/2009/10/rootlocus1.jpg" alt="rootlocus" width="560" height="420" /></p>
<p style="text-align: center;">
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://engineersphere.com/basic-electrical-concepts/complex-numbers.html" rel="bookmark" class="crp_title">Complex Numbers</a></li><li><a href="http://engineersphere.com/basic-electrical-concepts/electrical-power.html" rel="bookmark" class="crp_title">Electrical Power</a></li><li><a href="http://engineersphere.com/basic-electrical-concepts/current-divider.html" rel="bookmark" class="crp_title">Current Divider</a></li><li><a href="http://engineersphere.com/biomedical-engineering/biomedical-image-processing-ii.html" rel="bookmark" class="crp_title">Biomedical Image Processing &#8211; II</a></li><li><a href="http://engineersphere.com/biomedical-engineering/biomedical-image-processing-iii.html" rel="bookmark" class="crp_title">Biomedical Image Processing &#8211; III</a></li></ul></div>]]></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>
