<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Numerical Methods Guy</title>
	<atom:link href="http://autarkaw.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://autarkaw.wordpress.com</link>
	<description>Transforming Numerical Methods Education for the STEM undergraduate</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:34:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='autarkaw.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Numerical Methods Guy</title>
		<link>http://autarkaw.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://autarkaw.wordpress.com/osd.xml" title="The Numerical Methods Guy" />
	<atom:link rel='hub' href='http://autarkaw.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Differentiating a Discrete Function with Equidistant Points</title>
		<link>http://autarkaw.wordpress.com/2012/01/19/differentiating-a-discrete-function-with-equidistant-points/</link>
		<comments>http://autarkaw.wordpress.com/2012/01/19/differentiating-a-discrete-function-with-equidistant-points/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 12:34:01 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Differentiation]]></category>
		<category><![CDATA[MATLAB programming]]></category>
		<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[Simultaneous Linear Equations]]></category>
		<category><![CDATA[derivatives]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[sortrows]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=805</guid>
		<description><![CDATA[Many students ask me how do I do this or that in MATLAB.  This is a new addition to the &#8220;How do I do that in MATLAB&#8220;  series.   In this blog, I show you how to find the first derivative &#8230; <a href="http://autarkaw.wordpress.com/2012/01/19/differentiating-a-discrete-function-with-equidistant-points/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=805&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Many students ask me how do I do this or that in MATLAB.  This is a new addition to the &#8220;<a title="Numerical Methods Blog Entries by Topic " href="http://numericalmethods.eng.usf.edu/blog_entries.html">How do I do that in MATLAB</a>&#8220;  series.</div>
<div> </div>
<div>In this blog, I show you how to find the first derivative of a discrete function y(x).  We are assuming that the x values are eqidistant and the data is sorted in ascending or descending order by the x values.  The latter requirement can be relaxed easily in programs such as MATLAB where one can use the <a title="Sorting bu column in MATLAB" href="http://www.mathworks.com/help/techdoc/ref/sortrows.html">sortrows</a> command to put the data in the required order.</div>
<div> </div>
<div>To keep the accuracy of all calculated first derivatives to be the same, we use the following formulas:</div>
<div> </div>
<div>For the first data point, we use the forward divided difference formula</div>
<div>        f &#8216;(x) =(-f(x+2h) + 4 f(x+h) -3 f(x))/(2h)+order(h^2)</div>
<div>
<div> </div>
<div>For the interior points, we use the central divided difference formula</div>
<div>       f &#8216;(x) =(f(x+h) -f(x-h))/(2h)+order(h^2)</div>
</div>
<div>
<div> </div>
<div>For the last data point, we use the backward divided difference formula</div>
<div>       f &#8216;(x) =(f(x-2h) - 4 f(x-h) +3 f(x))/(2h)+order(h^2)</div>
<div> </div>
<div>Here are the links for the program.</div>
<div>The mfile is <a href="http://numericalmethods.eng.usf.edu/blog/discrete_diff_equidistant_blog.m">here</a></div>
<div>The published version of the mfile is <a title="Differentiating Discrete Function" href="http://numericalmethods.eng.usf.edu/blog/html/discrete_diff_equidistant_blog.html">here</a></div>
<div>
<p>%% HOW DO I DO THAT IN MATLAB SERIES?<br />
% In this series, I am answering questions that students have asked<br />
% me about MATLAB.  Most of the questions relate to a mathematical<br />
% procedure.</p>
<p>%% TOPIC<br />
% How do I find the first derivative of a discrete function y(x) if the<br />
% x values are equidistant.<br />
%% SUMMARY<br />
% Language : Matlab 2010a;<br />
% Authors : Autar Kaw and Sri Garapati;<br />
% Mfile available at<br />
% <a href="http://numericalmethods.eng.usf.edu/blog/discrete_diff_equidistant_blog.m">http://numericalmethods.eng.usf.edu/blog/discrete_diff_equidistant_blog.m</a><br />
% Last Revised : January 17, 2012;<br />
% Abstract: This program shows you how to differentiate discrete data if<br />
% the x values are equally spaced<br />
clc<br />
clear all</p>
<p>%% INTRODUCTION</p>
<p>disp(&#8216;ABSTRACT&#8217;)<br />
disp(&#8216;   This program shows you how to differentiate discrete data if&#8217;)<br />
disp(&#8216;   the x values are equally spaced &#8216;)</p>
<p>disp(&#8216; &#8216;)<br />
disp(&#8216;AUTHOR&#8217;)<br />
disp(&#8216;   Autar Kaw and Sri Garapati of <a href="http://autarkaw.wordpress.com'/">http://autarkaw.wordpress.com&#8217;</a>)<br />
disp(&#8216; &#8216;)<br />
disp(&#8216;MFILE SOURCE&#8217;)<br />
disp(&#8216;   <a href="http://numericalmethods.eng.usf.edu/blog/discrete_diff_equidistant_blog.m'">http://numericalmethods.eng.usf.edu/blog/discrete_diff_equidistant_blog.m&#8217;</a>)<br />
disp(&#8216; &#8216;)<br />
disp(&#8216;LAST REVISED&#8217;)<br />
disp(&#8216;   January 17, 2012&#8242;)<br />
disp(&#8216; &#8216;)</p>
<p>%% INPUTS</p>
<p>% Inputs assuming<br />
%    that three or more points are given<br />
%    all x values are equidistant<br />
%    x values are in ascending or descending order.<br />
x=[2.3   3.4   4.5    5.6   6.7   7.8];<br />
y=[4.6   7.9   13.0   12.3  3.2   1.9];<br />
%% DISPLAYING INPUTS<br />
disp(&#8216;  &#8216;)<br />
disp(&#8216;INPUTS&#8217;)<br />
% Creating a matrix to print input data as a table<br />
data=[x;y]&#8216;;<br />
disp(&#8216;   X Data     Y Data&#8217;)<br />
% Printing the input data as a table<br />
disp(data)</p>
<p>%% THE CODE</p>
<p>% n returns the number of data points<br />
n=length(x);<br />
% delta is the distance between consecutive x values<br />
delta=x(2)-x(1);</p>
<p>% &#8220;dy&#8221; is an array which stores the value of the derivative at each x-value</p>
<p>% finding the derivative from the 2nd order accurate forward divided<br />
% difference formula at the first data point<br />
dy(1)=(-y(3)+4*y(2)-3*y(1))/(2*delta);</p>
<p>% finding the derivative from the 2nd order accurate central divided<br />
% difference formula at the second to (n-1)th data point<br />
for i=2:1:n-1<br />
    dy(i)=(y(i+1)-y(i-1))/(2*delta);<br />
end</p>
<p>% finding the derivative from the 2nd order accurate backward divided<br />
% difference formula at the first data point<br />
dy(n)=(y(n-2)-4*y(n-1)+3*y(n))/(2*delta);</p>
<p>% creating a matrix with input data and calculated derivative value at<br />
% each data point for printing as a table<br />
xdy=[x' y' dy'];</p>
<p>%% DISPLAYING OUTPUTS<br />
disp(&#8216;  &#8216;)<br />
disp(&#8216;OUTPUTS&#8217;)<br />
disp(&#8216;     XData   YData  Derivative&#8217;)<br />
% printing the input data points and calculated derivative values(Outputs)<br />
disp(xdy)<br />
_________________________________________________</p>
<p>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at <a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</div>
</div>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/differentiation/'>Differentiation</a>, <a href='http://autarkaw.wordpress.com/category/matlab-programming/'>MATLAB programming</a>, <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>, <a href='http://autarkaw.wordpress.com/category/simultaneous-linear-equations/'>Simultaneous Linear Equations</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/derivatives/'>derivatives</a>, <a href='http://autarkaw.wordpress.com/tag/differentiation/'>Differentiation</a>, <a href='http://autarkaw.wordpress.com/tag/matlab/'>matlab</a>, <a href='http://autarkaw.wordpress.com/tag/sortrows/'>sortrows</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/805/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/805/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/805/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=805&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2012/01/19/differentiating-a-discrete-function-with-equidistant-points/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>2011 in review</title>
		<link>http://autarkaw.wordpress.com/2011/12/31/2011-in-review/</link>
		<comments>http://autarkaw.wordpress.com/2011/12/31/2011-in-review/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 00:57:07 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=801</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.   Here&#8217;s an excerpt: The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 110,000 times in 2011. If it were an exhibit &#8230; <a href="http://autarkaw.wordpress.com/2011/12/31/2011-in-review/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=801&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.</p>
<div style="background:url('/wp-content/mu-plugins/annual-reports/img/emailteaser.jpg') no-repeat center center;height:300px;"> </div>
<p>Here&#8217;s an excerpt:</p>
<blockquote><p>The Louvre Museum has 8.5 million visitors per year. This blog was viewed about <strong>110,000</strong> times in 2011. If it were an exhibit at the Louvre Museum, it would take about 5 days for that many people to see it.</p></blockquote>
<p><a href="/2011/annual-report/">Click here to see the complete report.</a></p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/801/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/801/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/801/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=801&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/12/31/2011-in-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Saylor Foundation Harnesses Numerical Methods Resources</title>
		<link>http://autarkaw.wordpress.com/2011/12/17/saylor-foundation-harnesses-numerical-methods-resources/</link>
		<comments>http://autarkaw.wordpress.com/2011/12/17/saylor-foundation-harnesses-numerical-methods-resources/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 20:01:11 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[open courseware]]></category>
		<category><![CDATA[saylor foundation]]></category>
		<category><![CDATA[saylor.org]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=793</guid>
		<description><![CDATA[ Saylor Foundation (http:/saylor.org) is harnessing quality open courseware resources available around the world.   More than 90% of the resources for the Numerical Methods for Engineers course at the site http://www.saylor.org/courses/me205/ is composed of content from the http://numericalmethods.eng.usf.edu website. __________________________________ This post is &#8230; <a href="http://autarkaw.wordpress.com/2011/12/17/saylor-foundation-harnesses-numerical-methods-resources/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=793&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Saylor Foundation (http:/saylor.org) is harnessing quality open courseware resources available around the world.   More than 90% of the resources for the Numerical Methods for Engineers course at the site <a href="http://www.saylor.org/courses/me205/">http://www.saylor.org/courses/me205/</a> is composed of content from the <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a> website.</p>
<p>__________________________________</p>
<p>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at<a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a<a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/numerical-methods/'>Numerical Methods</a>, <a href='http://autarkaw.wordpress.com/tag/open-courseware/'>open courseware</a>, <a href='http://autarkaw.wordpress.com/tag/saylor-foundation/'>saylor foundation</a>, <a href='http://autarkaw.wordpress.com/tag/saylor-org/'>saylor.org</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/793/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/793/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/793/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=793&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/12/17/saylor-foundation-harnesses-numerical-methods-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>codecademy.com looks promising</title>
		<link>http://autarkaw.wordpress.com/2011/11/30/codecademy-com-looks-promising/</link>
		<comments>http://autarkaw.wordpress.com/2011/11/30/codecademy-com-looks-promising/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 11:24:31 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[codecademy]]></category>
		<category><![CDATA[open courseware]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/2011/11/30/codecademy-com-looks-promising/</guid>
		<description><![CDATA[codecademy.com is offering promising free online courses to non-CS programmers.  It is an interactive way of learning how to program and it also assesses your learning gains via badges.  Go and give it a try.  You can get a quick glimpse &#8230; <a href="http://autarkaw.wordpress.com/2011/11/30/codecademy-com-looks-promising/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=789&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>codecademy.com is offering promising free online courses to non-CS programmers.  It is an interactive way of learning how to program and it also assesses your learning gains via badges.  Go and give it a try.  You can get a quick glimpse of what they are trying to do by watching a <a href="http://money.cnn.com/2011/11/29/smallbusiness/codecademy/">CNN news clip</a>.</p>
<p>__________________________________</p>
<p>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at<a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a<a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/codecademy/'>codecademy</a>, <a href='http://autarkaw.wordpress.com/tag/open-courseware/'>open courseware</a>, <a href='http://autarkaw.wordpress.com/tag/programming/'>programming</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/789/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=789&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/11/30/codecademy-com-looks-promising/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Audiovisual Lectures for Novice Programmers</title>
		<link>http://autarkaw.wordpress.com/2011/11/25/audiovisual-lectures-for-novice-programmers/</link>
		<comments>http://autarkaw.wordpress.com/2011/11/25/audiovisual-lectures-for-novice-programmers/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 23:17:45 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[audiovisual lectures]]></category>
		<category><![CDATA[david malan]]></category>
		<category><![CDATA[introduction to computer science]]></category>
		<category><![CDATA[mehran sahami]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[programming methodology]]></category>
		<category><![CDATA[youtube videos]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=748</guid>
		<description><![CDATA[The other day, a student asked me if I would recommend freely-available online digital audiovisual lectures  for those students who are learning programming for the first time.  I can point out three sources I have used myself and to say the least, I have been &#8230; <a href="http://autarkaw.wordpress.com/2011/11/25/audiovisual-lectures-for-novice-programmers/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=748&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The other day, a student asked me if I would recommend freely-available online digital audiovisual lectures  for those students who are learning programming for the first time.  I can point out three sources I have used myself and to say the least, I have been inspired.  Over the last two years, I have used their teaching techniques and examples in my own 1-credit hour EML3035 <a href="http://www.eng.usf.edu/~kaw/class/programming/">Programming Concepts</a> course at the University of South Florida.  I do not have audiovisual lectures but I have several scripts to help you along if you use MATLAB.  Let me know what you think.</p>
<p>1. Harvard&#8217;s David Malan: <a href="http://academicearth.org/courses/introduction-to-computer-science-i">Introduction to Computer Science   </a></p>
<p>2. MITs duo Eric Grimsom and John Guttag: <a href="http://academicearth.org/courses/introduction-to-computer-science-and-programming">Introduction to Computer Science and Programming</a></p>
<p>3. Stanford&#8217;s Mehran Sahami <a href="http://academicearth.org/courses/programming-methodology">Computer Science I: Programming Methodology</a></p>
<p>____________________________________</p>
<p>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at<a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a<a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/audiovisual-lectures/'>audiovisual lectures</a>, <a href='http://autarkaw.wordpress.com/tag/david-malan/'>david malan</a>, <a href='http://autarkaw.wordpress.com/tag/introduction-to-computer-science/'>introduction to computer science</a>, <a href='http://autarkaw.wordpress.com/tag/mehran-sahami/'>mehran sahami</a>, <a href='http://autarkaw.wordpress.com/tag/programming/'>programming</a>, <a href='http://autarkaw.wordpress.com/tag/programming-methodology/'>programming methodology</a>, <a href='http://autarkaw.wordpress.com/tag/youtube-videos/'>youtube videos</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=748&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/11/25/audiovisual-lectures-for-novice-programmers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Livescribe</title>
		<link>http://autarkaw.wordpress.com/2011/09/12/livescribe/</link>
		<comments>http://autarkaw.wordpress.com/2011/09/12/livescribe/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 00:14:31 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=744</guid>
		<description><![CDATA[This is my first attempt to use livescribe as a teaching tool. http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=STsnTp8ssjNh &#160; Filed under: Numerical Methods<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=744&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my first attempt to use livescribe as a teaching tool.</p>
<p><a href="http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=STsnTp8ssjNh">http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/MLSOverviewPage?sid=STsnTp8ssjNh</a></p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=744&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/09/12/livescribe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Does the solve command in MATLAB not give you an answer?</title>
		<link>http://autarkaw.wordpress.com/2011/09/08/does-the-solve-command-in-matlab-not-give-you-an-answer-2/</link>
		<comments>http://autarkaw.wordpress.com/2011/09/08/does-the-solve-command-in-matlab-not-give-you-an-answer-2/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 12:42:22 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[nonlinear equations]]></category>
		<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[MATLAB solve]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=738</guid>
		<description><![CDATA[In a recent blog about the MATLAB solve command, I mentioned that the solve command was not giving us the unique real solution to a physical problem.  A user at MATLAB suggested declaring the syms variable as real, before using the solve &#8230; <a href="http://autarkaw.wordpress.com/2011/09/08/does-the-solve-command-in-matlab-not-give-you-an-answer-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=738&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://autarkaw.wordpress.com/2011/08/07/does-the-solve-command-in-matlab-not-give-you-an-answer/">recent blog</a> about the MATLAB solve command, I mentioned that the solve command was not giving us the unique real solution to a physical problem.  A user at MATLAB suggested declaring the syms variable as real, before using the solve command. That worked.  So if the equation in terms of the variable <em>b </em>is eqnb=0, then use</p>
<p>syms b real;<br />
solve (eqnb,b);</p>
<p>____________________________________________</p>
<p>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at<a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</p>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/nonlinear-equations/'>nonlinear equations</a>, <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/matlab-solve/'>MATLAB solve</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/738/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/738/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/738/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=738&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/09/08/does-the-solve-command-in-matlab-not-give-you-an-answer-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Computational Time to Find Determinant Using Gaussian Elimination</title>
		<link>http://autarkaw.wordpress.com/2011/08/21/computational-time-to-find-determinant-using-gaussian-elimination/</link>
		<comments>http://autarkaw.wordpress.com/2011/08/21/computational-time-to-find-determinant-using-gaussian-elimination/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 17:07:43 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[Simultaneous Linear Equations]]></category>
		<category><![CDATA[cofactor]]></category>
		<category><![CDATA[computational time]]></category>
		<category><![CDATA[determinant]]></category>
		<category><![CDATA[forward elimination]]></category>
		<category><![CDATA[Gaussian elimination method]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=733</guid>
		<description><![CDATA[The time it would take to find the determinant of a matrix using the Gaussian Elimination is many-many orders less than when the cofactor method is used.  In this blog, we derive the formula for a typical amount of computational time it &#8230; <a href="http://autarkaw.wordpress.com/2011/08/21/computational-time-to-find-determinant-using-gaussian-elimination/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=733&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>The time it would take to find the determinant of a matrix using the Gaussian Elimination is many-many orders less than when the cofactor method is used.  In this blog, we derive the formula for a typical amount of computational time it would take to find the determinant of a nxn matrix using the forward elimination part of the Naive Gauss Elimination method.  The time is compared with that using the <a href="http://autarkaw.wordpress.com/2011/07/21/computational-time-to-find-determinant-using-cofactor-method/">cofactor method</a>.</div>
<div> <img class="alignnone" src="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Gausselim_Page_1.jpg" alt="Computational time to find determinant" width="493" height="1149" /></div>
<p style="text-align:left;"><img class="alignnone" src="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Gausselim_Page_2.jpg" alt="Computational time to find determinant" width="493" height="1365" /></p>
<div>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at <a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</div>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>, <a href='http://autarkaw.wordpress.com/category/simultaneous-linear-equations/'>Simultaneous Linear Equations</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/cofactor/'>cofactor</a>, <a href='http://autarkaw.wordpress.com/tag/computational-time/'>computational time</a>, <a href='http://autarkaw.wordpress.com/tag/determinant/'>determinant</a>, <a href='http://autarkaw.wordpress.com/tag/forward-elimination/'>forward elimination</a>, <a href='http://autarkaw.wordpress.com/tag/gaussian-elimination-method/'>Gaussian elimination method</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/733/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=733&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/08/21/computational-time-to-find-determinant-using-gaussian-elimination/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>

		<media:content url="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Gausselim_Page_1.jpg" medium="image">
			<media:title type="html">Computational time to find determinant</media:title>
		</media:content>

		<media:content url="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Gausselim_Page_2.jpg" medium="image">
			<media:title type="html">Computational time to find determinant</media:title>
		</media:content>
	</item>
		<item>
		<title>Does the solve command in MATLAB not give you an answer?</title>
		<link>http://autarkaw.wordpress.com/2011/08/07/does-the-solve-command-in-matlab-not-give-you-an-answer/</link>
		<comments>http://autarkaw.wordpress.com/2011/08/07/does-the-solve-command-in-matlab-not-give-you-an-answer/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 18:02:08 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[Regression]]></category>
		<category><![CDATA[exponential growth]]></category>
		<category><![CDATA[MATLAB solve]]></category>
		<category><![CDATA[minimizing sum of square of residuals]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=721</guid>
		<description><![CDATA[Recently, I had assigned a project to my class where they needed to regress n number of x-y data points to a nonlinear regression model y=exp(b*x).  However, they were NOT allowed to transform the data, that is, transform data such that linear regression formulas &#8230; <a href="http://autarkaw.wordpress.com/2011/08/07/does-the-solve-command-in-matlab-not-give-you-an-answer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=721&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I had assigned a project to my class where they needed to regress <em>n</em> number of <em>x-y</em> data points to a nonlinear regression model <em>y</em>=exp(<em>b</em>*<em>x</em>).  However, they were NOT allowed to transform the data, that is, transform data such that linear regression formulas can be used to find the constant of regression <em>b</em>.  They had to do it the new-fashioned way: Find the sum of the square of the residuals and then minimize the sum with respect to the constant of regression <em>b</em>.</p>
<p>To do this, they conducted the following steps</p>
<ol>
<li>setup the equation by declaring <em>b</em> as a syms variable,</li>
<li>calculate the sum  of the square of the residuals using a loop,</li>
<li>use the <em>diff</em> command to set up the equation,</li>
<li>use the <em>solve</em> command. </li>
</ol>
<p>However, the <em>solve</em> command gave some odd answer like log(z1)/5 + (2*pi*k*i)/5.  The students knew that the equation has only one real solution &#8211; this was deduced from the physics of the problem. </p>
<p>We did not want to set up a separate function mfile to use the numerical solvers such as <em>fsolve</em>.  To circumvent the setting up of a separate function mfile, we approached it as follows.  If dbsr=0 is the equation you want to solve, use</p>
<p>F = vectorize(inline(char(dbsr)))<br />
fsolve(F, -2.0)</p>
<p>What <em>char</em> command does is to convert the function dbsr to a string, inline constructs it to an inline function, vectorize command vectorizes the formula (I do not fully understand this last part myself or whether it is needed).</p>
<div>
<div>
<div>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at<a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</div>
</div>
</div>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>, <a href='http://autarkaw.wordpress.com/category/regression/'>Regression</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/exponential-growth/'>exponential growth</a>, <a href='http://autarkaw.wordpress.com/tag/matlab-solve/'>MATLAB solve</a>, <a href='http://autarkaw.wordpress.com/tag/minimizing-sum-of-square-of-residuals/'>minimizing sum of square of residuals</a>, <a href='http://autarkaw.wordpress.com/tag/regression/'>Regression</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/721/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=721&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/08/07/does-the-solve-command-in-matlab-not-give-you-an-answer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>
	</item>
		<item>
		<title>Computational Time to Find Determinant Using CoFactor Method</title>
		<link>http://autarkaw.wordpress.com/2011/07/21/computational-time-to-find-determinant-using-cofactor-method/</link>
		<comments>http://autarkaw.wordpress.com/2011/07/21/computational-time-to-find-determinant-using-cofactor-method/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 21:08:10 +0000</pubDate>
		<dc:creator>Autar Kaw</dc:creator>
				<category><![CDATA[Numerical Methods]]></category>
		<category><![CDATA[Simultaneous Linear Equations]]></category>
		<category><![CDATA[cofactor]]></category>
		<category><![CDATA[computational time]]></category>
		<category><![CDATA[determinant]]></category>

		<guid isPermaLink="false">http://autarkaw.wordpress.com/?p=715</guid>
		<description><![CDATA[The time it would take to find the determinant of a matrix using the cofactor method can be daunting.  A student may not realize this as they may be limited to finding determinants of matrices of order 4&#215;4 or less by &#8230; <a href="http://autarkaw.wordpress.com/2011/07/21/computational-time-to-find-determinant-using-cofactor-method/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=715&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>The time it would take to find the determinant of a matrix using the cofactor method can be daunting.  A student may not realize this as they may be limited to finding determinants of matrices of order 4&#215;4 or less by hand.  In this blog, we derive the formula for a typical amount of computational time it would take to find the determinant of a nxn matrix using the cofactor method.</div>
<div> <img class="alignnone" src="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Page_1.jpg" alt="Computational time to find determinant" width="502" height="1302" /></div>
<p style="text-align:left;"><img class="alignnone" src="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Page_2.jpg" alt="Computational time to find determinant" width="504" height="863" /></p>
<div>This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu</a>, the textbook on <a href="http://autarkaw.com/books/numericalmethods/index.html">Numerical Methods with Applications</a> available from the <a href="http://stores.lulu.com/kawautar">lulu storefront</a>, the textbook on <a href="http://autarkaw.com/books/programming/">Introduction to Programming Concepts Using MATLAB</a>, and the YouTube video lectures available at <a href="http://numericalmethods.eng.usf.edu/videos">http://numericalmethods.eng.usf.edu/videos</a>.  Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&amp;loc=en_US">email</a> to stay updated with this blog. Let the information follow you.</div>
<br />Filed under: <a href='http://autarkaw.wordpress.com/category/numerical-methods/'>Numerical Methods</a>, <a href='http://autarkaw.wordpress.com/category/simultaneous-linear-equations/'>Simultaneous Linear Equations</a> Tagged: <a href='http://autarkaw.wordpress.com/tag/cofactor/'>cofactor</a>, <a href='http://autarkaw.wordpress.com/tag/computational-time/'>computational time</a>, <a href='http://autarkaw.wordpress.com/tag/determinant/'>determinant</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/autarkaw.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/autarkaw.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/autarkaw.wordpress.com/715/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=autarkaw.wordpress.com&amp;blog=3780249&amp;post=715&amp;subd=autarkaw&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://autarkaw.wordpress.com/2011/07/21/computational-time-to-find-determinant-using-cofactor-method/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">The numerical methods guy</media:title>
		</media:content>

		<media:content url="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Page_1.jpg" medium="image">
			<media:title type="html">Computational time to find determinant</media:title>
		</media:content>

		<media:content url="http://numericalmethods.eng.usf.edu/blog/how_long_to_find_determinant_Page_2.jpg" medium="image">
			<media:title type="html">Computational time to find determinant</media:title>
		</media:content>
	</item>
	</channel>
</rss>
