<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mw.hh.se/caisr/index.php?action=history&amp;feed=atom&amp;title=Stefan_Karlsson%2FPersonalPage%2FEducation%2FMatlab_With_Applications%2Fe2</id>
	<title>Stefan Karlsson/PersonalPage/Education/Matlab With Applications/e2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mw.hh.se/caisr/index.php?action=history&amp;feed=atom&amp;title=Stefan_Karlsson%2FPersonalPage%2FEducation%2FMatlab_With_Applications%2Fe2"/>
	<link rel="alternate" type="text/html" href="https://mw.hh.se/caisr/index.php?title=Stefan_Karlsson/PersonalPage/Education/Matlab_With_Applications/e2&amp;action=history"/>
	<updated>2026-04-19T08:02:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://mw.hh.se/caisr/index.php?title=Stefan_Karlsson/PersonalPage/Education/Matlab_With_Applications/e2&amp;diff=218&amp;oldid=prev</id>
		<title>10.0.2.2: Created page with &quot;= Excercise 2, Matrices, program flow and sound of music= Bring headsets or earpieces so you can listen to audio without disrupting the class. Example output for task 3:  Fi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mw.hh.se/caisr/index.php?title=Stefan_Karlsson/PersonalPage/Education/Matlab_With_Applications/e2&amp;diff=218&amp;oldid=prev"/>
		<updated>2014-03-07T11:46:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Excercise 2, Matrices, program flow and sound of music= Bring headsets or earpieces so you can listen to audio without disrupting the class. Example output for task 3:  Fi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Excercise 2, Matrices, program flow and sound of music=&lt;br /&gt;
Bring headsets or earpieces so you can listen to audio without disrupting the class. Example output for task 3:&lt;br /&gt;
&lt;br /&gt;
[[File:E2_3output.ogg]]&lt;br /&gt;
&lt;br /&gt;
All files needed in a zip file [[Media:E2MA4024.zip|here]]&lt;br /&gt;
&lt;br /&gt;
Deadline to submit your tasks: 12am(24.00 hrs)  NEW DEADLINE: 21th of february.&lt;br /&gt;
&lt;br /&gt;
=== FAQs===&lt;br /&gt;
- &amp;#039;&amp;#039;When i copy paste certain code parts into matlab from the pdf, it doesnt work!&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There are some problems copying from pdf files in general. There might be odd line breaks and weird characters appearing from nowhere. For this reason, I supplied scripts for the bigger code parts of the pdf. The best way to solve this issue if you find problems is to open a text editor, paste the code in there first, see that it is the same as it appears in the pdf(modify it otherwise), and paste the result into matlab.&lt;br /&gt;
&lt;br /&gt;
- &amp;#039;&amp;#039;When I use the sound function, I cant get sound to play simultaneously&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
There is a Matlab version issue. In order to play sound in the way that is instructed, you can use the following lines in older versions of Matlab:&lt;br /&gt;
&lt;br /&gt;
  y1 = playSheetOfMusic1(0,6000);&lt;br /&gt;
  y2 = playSheetOfMusic1(0,4000);&lt;br /&gt;
  load chirp;&lt;br /&gt;
  wavplay(y,       &amp;#039;async&amp;#039;);&lt;br /&gt;
  wavplay(y1,40000,&amp;#039;sync&amp;#039; );&lt;br /&gt;
  wavplay(y,       &amp;#039;async&amp;#039;);&lt;br /&gt;
  wavplay(y2,40000,&amp;#039;sync&amp;#039; );&lt;/div&gt;</summary>
		<author><name>10.0.2.2</name></author>
	</entry>
</feed>