Solutions and reference items
EGR 210 tutoring: MW 8-9:30PM Crounse 307
Office hours MWF 9-9:30AM, Tu/Th 10-11:30AM
Solution to nested for loop worksheet
Solution to while loop worksheet
Solutions to if statement worksheet
Solutions to scatter plot worksheet
Solutions to function plot worksheet
Solutions to exam 1 practice packet. (Note that the problem statement in 2(c) was changed as indicated in class, and 2(k) and (l) were identical by mistake.
Solution to 2D array creation worksheet (9/15)
Solution to 1D array manipulation worksheet (9/12)
Solution to 1D array creation worksheet (9/10)
Instructions for installing MATLAB on your laptop
Course syllabus
Fall term academic calendar
Fall term final exam schedule
Daily action items by date
All reading assignments are due on the date they are assigned, in preparation for the following day's class.
——- Week 7 items below (10/12 -- 10/17) ——-
10/12 (Sun) :
• Read 18.1-18.7
10/15 (Wed) :
• Exam #2 in class today. Coverage is through while loops, but not including for loops. I recommend completing the zybook items concerning while loops in chapter 17 soon, even though the assignments are not due until after the exam. You should expect similar type of questions: create a script or function that does what is described; what does the script give as output if the code given is executed?; display the contents of array A after the given code is executed.
——- Week 6 items below (10/5 -- 10/8) ——-
10/6 (Mon) :
• Continuing Ch 17 discussion today.
10/8 (Wed) :
• Continuing Ch 17 discussion today.
——- Week 5 items below (9/28 -- 10/3) ——-
9/28 (Sun) :
• Read Ch 15.
9/30 (Tues) :
• Read Ch 16.
10/2 (Thurs) :
• Read Ch 17.
10/3 (Fri) :
• Quiz covering basic plotting/images of functions:
2D line plots of functions with given formulae, including multiple curves on the same axes, for a given x-axis range, using xlabel, ylabel, title, and choosing line color using 'r', 'b', etc. You don't need to worry about line types (dashed, etc.) or displaying and adjusting the data markers. Adjusting the range of the horiztal and vertical axes using axis([xmin, xmax, ymin, ymax]) .
Displaying a function of two variables like sin(xy) for a given range of x and y, using meshgrid and imagesc. Selecting the MATLAB-native colormap if I give you the name (such as "jet" or "turbo"), and displaying a colorbar. Using xlabel, ylabel, and title here, too.
——- Week 4 items below (9/21 -- 9/26) ——-
9/22 (Mon) :
• Exam #1
9/23 (Tues) :
• Read Ch 13.
9/25 (Thurs) :
• Read Ch 14.
——- Week 3 items below (9/14 -- 9/19) ——-
9/14 (Sun) :
• Read Ch 11.
9/16 (Tues) :
• Read Ch 12.
——- Week 2 items below (9/7 -- 9/12) ——-
9/7 (Sun) :
• Read Ch 6 and 7.
9/9 (Tues) :
• Read Ch 8 and 9.
9/11 (Thurs) :
• Read Ch 10.
9/12 (Fri) :
• Quiz (Covering row and column vector creation, editing, and manipulation, similar to the problems on Wednesday's worksheet.)
——- Week 0-1 items below (8/29 -- 9/7) ——-
8/29 (Fri):
• First class meeting.
• Install MATLAB on your laptop. Discussion of Ch 1&2.
8/31 (Sun) :
• Read sections in chapters 1&2 (that are not marked as optional) and attempt to complete activities in the text. These assignments are listed in the text under "Assignments," along with their final due dates.
9/2 (Tues):
• Read Ch 3 (and attempt to complete reading activities, which goes without saying in the future).
9/4 (Thurs):
• Read Ch 4 and 5.
9/5 (Fri) :
• Quiz (Covering variable assignments, arithmetic operations and numeric expressions. Effect of a semicolon on command output. Defining a variable to be type double, or a string, or as a logical type containing false or true. Logic and relation operators, and creating more complicated logical expressions combining relations and logical operators. Clearing the entire workspace. Saving and loading particular variables from and into the workspace using a given filename. You might be given a statement and asked for any output when entered at the command line, or you might be asked for the command that will accomplish something described.)