<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/matlab-intro-2008</id>
  <title type="text">Matlab-Intro-MIT-IAP-2008 Google Group</title>
  <subtitle type="text">
  This is the official course website for the Introduction to Matlab given in MIT during IAP of 2008.
  </subtitle>
  <link href="/group/matlab-intro-2008/feed/atom_v1_0_msgs.xml" rel="self" title="Matlab-Intro-MIT-IAP-2008 feed"/>
  <updated>2008-01-31T20:18:53Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-31T20:18:53Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/86d2e2b025f4e7b7/d92a284618ebf9c1?show_docid=d92a284618ebf9c1</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/86d2e2b025f4e7b7/d92a284618ebf9c1?show_docid=d92a284618ebf9c1"/>
  <title type="text">Class is now over.</title>
  <summary type="html" xml:space="preserve">
  Hi all, &lt;br&gt; &lt;p&gt;I&#39;m a little disappointed by the weak show of people today...The &lt;br&gt; project is the part where you would have learned the most in this &lt;br&gt; class. By not doing the project, you are committing yourself to &lt;br&gt; forgetting most of the material. You need to strike the metal while it &lt;br&gt; is hot...But there&#39;s still hope! Finish your project over the weekend
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-30T18:11:17Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/a0aaa695f5f27d12/55cb5e8c5fc10b64?show_docid=55cb5e8c5fc10b64</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/a0aaa695f5f27d12/55cb5e8c5fc10b64?show_docid=55cb5e8c5fc10b64"/>
  <title type="text">Feedback on Intro to Matlab 2008 (Yossi Farjoun)</title>
  <summary type="html" xml:space="preserve">
  Hi all. &lt;br&gt; &lt;p&gt;In order to create a better departmental offering, and to get feedback &lt;br&gt; on my teaching, I ask that you take a few minutes to answer the &lt;br&gt; following questions. In order to guarantee you express your true &lt;br&gt; thoughts about me and the class please email your reply to &lt;br&gt; w...@math.mit.edu (the undergraduate office). Make sure you do not
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi Farjoun</name>
  <email>yfarj...@math.mit.edu</email>
  </author>
  <updated>2008-01-25T13:00:29Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/b60f802fda52ae5a/3df562f4b7688c80?show_docid=3df562f4b7688c80</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/b60f802fda52ae5a/3df562f4b7688c80?show_docid=3df562f4b7688c80"/>
  <title type="text">Re: Question about today&#39;s exercise</title>
  <summary type="html" xml:space="preserve">
  Masaharu, &lt;br&gt; The third way you suggested is one way I was thinking about (note that you &lt;br&gt; can change the 5 to a 100 and it will create a 100x100 matrix...) &lt;br&gt; but you can also do &lt;br&gt; a=[1:5]&#39; &lt;br&gt; r=a(:,ones(1,5)) &lt;br&gt; The fourth way you did has a colon between two vectors...I&#39;m not sure what &lt;br&gt; you expect that to do. &lt;br&gt; cheers,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Masaharu Aiuchi</name>
  <email>masaharu.aiu...@sloan.mit.edu</email>
  </author>
  <updated>2008-01-25T19:56:40Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/b60f802fda52ae5a/0f990492df5c22ba?show_docid=0f990492df5c22ba</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/b60f802fda52ae5a/0f990492df5c22ba?show_docid=0f990492df5c22ba"/>
  <title type="text">Re: Question about today&#39;s exercise</title>
  <summary type="html" xml:space="preserve">
  Thanks for your reply. &lt;br&gt; is a quite interesting way. This trick looks a bit similar to &#39; for i &lt;br&gt; = [ ones(1,5) ] &#39; in respect that a kind of iterator is proceeding &lt;br&gt; from 1 to anther 1, right ? Now I understood how it is going in Matlab. &lt;br&gt; Have a good trip. &lt;br&gt; Masaharu
  </summary>
  </entry>
  <entry>
  <author>
  <name>rumela@mit.edu</name>
  <email>smpg...@gmail.com</email>
  </author>
  <updated>2008-01-24T19:20:27Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/04a0248efb393f7d/f0e0235f45e3bf7c?show_docid=f0e0235f45e3bf7c</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/04a0248efb393f7d/f0e0235f45e3bf7c?show_docid=f0e0235f45e3bf7c"/>
  <title type="text">View this page &quot;Lecture 6 Notes&quot;</title>
  <summary type="html" xml:space="preserve">
  Lecture 6 notes are published in case you wanted them...:-) &lt;br&gt; &lt;p&gt;Click on &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://groups.google.com/group/matlab-intro-2008/web/lecture-6-notes?hl=en&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; - or copy &amp;amp; paste it into your browser&#39;s address bar if that doesn&#39;t &lt;br&gt; work.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-24T14:41:26Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/85a365b638d71716/40609cf77e1a644c?show_docid=40609cf77e1a644c</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/85a365b638d71716/40609cf77e1a644c?show_docid=40609cf77e1a644c"/>
  <title type="text">Lecture 6 write-up</title>
  <summary type="html" xml:space="preserve">
  Hi all. &lt;br&gt; &lt;p&gt;I&#39;m leaving for the weekend right after class today, and thus will not &lt;br&gt; have the time to write up my lecture summary. &lt;br&gt; &lt;p&gt;I would greatly appreciate if a few of you could collaborate on &lt;br&gt; writing up the notes. &lt;br&gt; &lt;p&gt;You can simply click on &amp;quot;Pages&amp;quot;, and then on &amp;quot;new page&amp;quot;, and type &lt;br&gt; away. you can edit a previously edited page (kind-of like a wiki), or
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-24T04:45:12Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/24c45e7a8ef6532b/d435c1e48e140bcd?show_docid=d435c1e48e140bcd</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/24c45e7a8ef6532b/d435c1e48e140bcd?show_docid=d435c1e48e140bcd"/>
  <title type="text">Re: counter</title>
  <summary type="html" xml:space="preserve">
  Nice code. &lt;br&gt; &lt;p&gt;2 comments. &lt;br&gt; &lt;p&gt;1. You have an empty line as the first line of the code. the very &lt;br&gt; first line must have the &amp;quot;function y = ....&amp;quot; code, or a comment &lt;br&gt; (starting with %) &lt;br&gt; no empty lines allowed before the keyword function...This might be &lt;br&gt; your only problem. &lt;br&gt; 2. you can put the y=counter1-1 outside the while loop. no need to
  </summary>
  </entry>
  <entry>
  <author>
  <name>yossi farjoun</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-24T04:42:18Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/24c45e7a8ef6532b/c3ada0c7f15f8e80?show_docid=c3ada0c7f15f8e80</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/24c45e7a8ef6532b/c3ada0c7f15f8e80?show_docid=c3ada0c7f15f8e80"/>
  <title type="text">counter</title>
  <summary type="html" xml:space="preserve">
  Hi Yossi, &lt;br&gt; I have attached my version of the last-ish problem for lecture 5. I can&#39;t &lt;br&gt; seem to get it to work. What would you suggest? &lt;br&gt; function y = counter(x) &lt;br&gt; counter1=1; &lt;br&gt; while x&amp;gt;1 &lt;br&gt; counter1=counter1 + 1; &lt;br&gt; if mod(x,2)==0 &lt;br&gt; x=x/2; &lt;br&gt; else &lt;br&gt; x=3*x+1; &lt;br&gt; end
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-24T03:15:16Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/d0cbe3dd49fa4fdc/347a3921a93b1555?show_docid=347a3921a93b1555</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/d0cbe3dd49fa4fdc/347a3921a93b1555?show_docid=347a3921a93b1555"/>
  <title type="text">Re: Lect 5 exercise -20000th Fibonacci number</title>
  <summary type="html" xml:space="preserve">
  GOOD POINT! &lt;br&gt; &lt;p&gt;I wasn&#39;t thinking when I gave you that exercise...it does indeed grow &lt;br&gt; to be too big for matlab. So let&#39;s find the 100th Fibbonacci number &lt;br&gt; instead...(I&#39;ll change the exercise) &lt;br&gt; &lt;p&gt;Yossi.
  </summary>
  </entry>
  <entry>
  <author>
  <name>yossi farjoun</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-24T03:12:35Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/d0cbe3dd49fa4fdc/4cd4fe35e61369d2?show_docid=4cd4fe35e61369d2</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/d0cbe3dd49fa4fdc/4cd4fe35e61369d2?show_docid=4cd4fe35e61369d2"/>
  <title type="text">Lect 5 exercise -20000th Fibonacci number</title>
  <summary type="html" xml:space="preserve">
  Hi Yossi, &lt;br&gt; I was doing the exercise, and it seems to be working, except the value for &lt;br&gt; the 20,000th number comes out as Inf. I tried changing the format of the &lt;br&gt; number, but it didn&#39;t help. Is there a way to see the value of the number &lt;br&gt; or is it just Inf? &lt;br&gt; Thanks, &lt;br&gt; Jessica
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-23T20:16:42Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/9bd89c39e233ecf9/51aa4d1a86ea9f51?show_docid=51aa4d1a86ea9f51</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/9bd89c39e233ecf9/51aa4d1a86ea9f51?show_docid=51aa4d1a86ea9f51"/>
  <title type="text">Re: help: lecture 4 question 2</title>
  <summary type="html" xml:space="preserve">
  Dear M, &lt;br&gt; &lt;p&gt;There are several things that need to be corrected in your code: &lt;br&gt; &lt;p&gt;1. (line 2) 1:10^(-6) is an empty vector. be careful with operator &lt;br&gt; precedence. &lt;br&gt; 2. (line 3) even if that was a vector, it would only be a vector of &lt;br&gt; size 10...and in the loop, n would just be a single number...not what &lt;br&gt; you wanted I think. Perhaps you need another variable...just like my
  </summary>
  </entry>
  <entry>
  <author>
  <name>yossi farjoun</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-23T20:05:27Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/9bd89c39e233ecf9/64333f9a7145f68a?show_docid=64333f9a7145f68a</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/9bd89c39e233ecf9/64333f9a7145f68a?show_docid=64333f9a7145f68a"/>
  <title type="text">help: lecture 4 question 2</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I have problems solving the second questions on lecture 4, warm up: &lt;br&gt; Find a value of N so that the sum is close to pi/4 (with difference &amp;lt; 10^-6) &lt;br&gt; I have written the following code: &lt;br&gt; counter=0; &lt;br&gt; for n=1:10^(-6) &lt;br&gt; a=(1).^(n+1)./(2.*n-1); &lt;br&gt; sum(a); &lt;br&gt; counter; &lt;br&gt; if &lt;br&gt; sun(a)-(pi/4)&amp;lt;10^(-6); &lt;br&gt; break
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-23T20:01:04Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/5ac36b34ab149b25/abb3dfb92a441d9b?show_docid=abb3dfb92a441d9b</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/5ac36b34ab149b25/abb3dfb92a441d9b?show_docid=abb3dfb92a441d9b"/>
  <title type="text">Re: sprintf lec4</title>
  <summary type="html" xml:space="preserve">
  Shammi, &lt;br&gt; &lt;p&gt;great questions. &lt;br&gt; &lt;p&gt;s is a &amp;quot;format string&amp;quot; when used as the first argument of fprintf or &lt;br&gt; sprintf it tells the function how to generate the result (sprintf &lt;br&gt; returns the result, while fprintf write the result to the screen, or a &lt;br&gt; file) &lt;br&gt; &lt;p&gt;in the format string, you can have &amp;quot;place holders&amp;quot; for other input. so
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shammi S Quddus</name>
  <email>sha...@mit.edu</email>
  </author>
  <updated>2008-01-23T06:13:18Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/5ac36b34ab149b25/a2afa36d165eb1e9?show_docid=a2afa36d165eb1e9</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/5ac36b34ab149b25/a2afa36d165eb1e9?show_docid=a2afa36d165eb1e9"/>
  <title type="text">sprintf lec4</title>
  <summary type="html" xml:space="preserve">
  I was running this if loop from your lecture notes &lt;br&gt; &lt;p&gt;x = rand; &lt;br&gt; &lt;p&gt;s = &#39;The number %g is %s than 0.5\n&#39;; &lt;br&gt; &lt;p&gt;if x&amp;lt;0.5 &lt;br&gt; &lt;p&gt; fprintf(s,x,&#39;less&#39;) &lt;br&gt; &lt;p&gt;else &lt;br&gt; &lt;p&gt; fprintf(s,x,&#39;more&#39;) &lt;br&gt; &lt;p&gt;end &lt;br&gt; &lt;p&gt;questions: what does the %g and %s represent? what does it say in &lt;br&gt; english? also are the alphabets random or each signify a different
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yossi</name>
  <email>farj...@gmail.com</email>
  </author>
  <updated>2008-01-22T19:49:36Z</updated>
  <id>http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/289779baba27b2a1/4f2cf6521e36dea6?show_docid=4f2cf6521e36dea6</id>
  <link href="http://groups.google.com/group/matlab-intro-2008/browse_frm/thread/289779baba27b2a1/4f2cf6521e36dea6?show_docid=4f2cf6521e36dea6"/>
  <title type="text">Re: syntax on summing</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;I may have already answered you in class, but in any case, I&#39;ll answer &lt;br&gt; the list. The division needs to be pointwise. so use ./ instead of / &lt;br&gt; &lt;p&gt;cheers, &lt;br&gt; &lt;p&gt;Yossi.
  </summary>
  </entry>
</feed>
