The MATLAB 101 handout will be extremely useful for in-class exercises. You are expected to have it with you each class.
Date | Material covered |
---|---|
6 Sep | Introductions, course overview and administration, and a little game of “guess the number” to introduce the concept of algorithms. |
9 Sep | Work through calc.m and sphere.m handout (variables, assignment, values, fprintf, input) |
13 Sep | Work through countdown.m and vectors.m handout (while loop, vector creation and manipulation). For homework work through the evenodd.m and fatdog.m handout (for loops, if-elseif-else statements) and the addem.m and addem2.m handout (while and for loops with carried values). |
16 Sep | Review of handouts from 13 Sep. |
20 Sep | Fun with loops (interactive loop, sentinel loop). |
23 Sep | Problem solving approach: walk-through of the prime number question from lab 3 |
27 Sep | Review of if-elseif-else statements. Functions and if statements. |
30 Sep | RMC obstacle course, no class. Good luck to all! |
4 Oct | More functions and if statements (discounts at the Large Wombat department store) |
7 Oct | Dr. Phillips away, no class. Happy Thanksgiving. |
11 Oct | Informal introduction to sorting. See the Wikipedia articles on sorting algorithms, bubblesort, and selection sort, as well as sortvis.org and the sorting algorithms animations page |
14 Oct | Discussion of the midterm study guide and last year's midterm. |
18 Oct | Midterm examination |
21 Oct | Discusson of the midterm. |
25 Oct | 2D matrices questions 1–7 (and half the period stolen for the Dean's workload survey) |
28 Oct | 2D matrices questions 8–11 |
1 Nov | Character strings |
4 Nov | Binary encoding and an only slightly relevant but highly amusing discussion of digital music formats |
8 Nov | Encoding integers |
11 Nov | Remembrance Day, no class. |
15 Nov | Floating point |
18 Nov | ASCII, Unicode, and MATLAB strings |
22 Nov | The Von Neumann architecture notes and slides. |
25 Nov | ... continued, plus Carpinelli’s Relatively Simple CPU Simulator. |
29 Nov | Dr. Phillips away, no class. |
2 Dec | A bit more of the Relatively Simple CPU Simulator, errors and error types, and pre-exam words of wisdom. |
This web site is not an official publication of the Royal Military College of Canada nor of the Department of National Defence. Ce site web n’est pas une publication officielle du Collége militaire royal du Canada ni du Ministère de la défense nationale.