Math 252 MATLAB Page

Fall 2016


To return to the main course page, please click here .

In this course, all submitted and graded homework will be completed with the assistance of the MATLAB programming language. Some work will still require pen(cil) and paper. Information in regards to assignments, due dates, provided code, policies, etc. can be found on this page.

Assignments

  1. Assignment 1 (due 09/22)
  2. Assignment 2 (due 10/04)
  3. Assignment 3 (due 10/11)
  4. Assignment 4 (due 10/27)
  5. Assignment 5 (due 11/08)
  6. Assignment 6 (due 11/22)
  7. Assignment 7 (due 12/06)
  8. Assignment 8 (due 12/14)

Downloading Assignments

All code provided in Assignments above will be bundled into one zipped file. Please download this file onto your local machine, and unpack it in the usual way, which in general depends on your operating system. You should then obtain a file with one or more .m files, which represent executable MATLAB objects. Each assignment will contain information on how you will interact with these files. .m files can be opened by double-clicking, given that MATLAB is installed on your machine. If you receive an error, open MATLAB first and use the Open With option inside of MATLAB to locate and open the desired file.

Obtaining MATLAB

There are a number of ways to complete the MATLAB assignments for this course.

Getting Started with MATLAB

MATLAB is a relatively easy programming language to use, as it doesn't involve any compiling to machine code or loading of external packages (at least for our purposes). However, if you have never used it before, MATLAB may take a bit of getting used to (as any programming language does). For some accessible MATLAB tutorials, see below. I suggest opening MATLAB and typing all of the commands into your own machine as the best way of becoming familar with the language. Also, Google is probably your best resource for any information on any of the MATLAB commands that you encounter.

Submitting Assignments

All assignments should be submitted individually. However, collaboration is allowed.

In order to save paper, all assignments will be submitted electronically.

Your assignment will be graded, but it will not be “returned,” since it is electronic and will not be printed on paper. Solutions, including the partial credit key, will be posted, however, so you will be able to understand how points were assigned. Of course, if you have any questions, and/or believe that you were graded incorrectly, you are welcome to see me for clarification.

You should submit your assignment with a file name like

firstname_lastname_matlab2.pdf

where the number 2 references Assignment 2. To submit, just place this pdf in your folder in the Sakai Drop Box by midnight of the due date. You should merge everything into a single pdf file. Multiple pdf files, or jpeg’s, etc., will not be accepted. In doing the assignments, you may typically have to include printouts from MATLAB (in which you can print directly to pdf), as well as sometimes handwritten or typed material, such as tracing a solution by hand on a plot, adding some explanations, etc. The latter can be done electronically using a tablet (iPAD, android, surface, etc), or just in a piece of paper that you scan (please make sure everything is clearly labeled). A great free app for scanning and combining is documents is “Cam Scanner” for android or iPhone/iPAD. It crops and aligns scans, and produces pdf’s (which you can save to GoogleDrive or DropBox, send to yourself by email, etc). It is easy to use and free. For the former (merging all pdf’s into one single file), I like “PDF Mergy”, which is a free app add-on to Chrome (hence usable virtually in any platform, desktop to phone) that one can directly upload files to; the app then asks if you want to download the file to your computer, save to GoogleDrive, etc. Another option is to use Acrobat (the paid version).

If you have no other choice, you can take what you would have handed-in and scan everything into a single pdf using the free scanning service at the libraries, see the here, which I quote:

Self Service Scanning Public scanning stations are available throughout the libraries. Scan options allow for various file formats including pdf, tiff, and jpeg, black and white or color images, optical character recognition, cropping, and more. The choices for destination of scanned images are: scan to email; scan to USB; scan to Google Docs; scan to smartphone or tablet via QR code