Introduction to Matlab
MA 591, Fall 2010

Prof. Scroggs
Home Getting Started Lessons Assignments Syllabus (policies)

Homework and Coding Guide

Variable Names

  1. no single-character variable names

File and folder names

use only characters from the alphabet

folders should be named with 8 or fewer characters

no spaces, no special chacters, no dashes, no stars

Sample Grading Rubric.

The score is based on the work you show.  The score is NOT  based on what we guess you might know.  You must show your work for credit. If 10 points are possible (exam and quiz questions) ....
10
correct answer and solution proceedure clearly indicated
9
correct proceedure with minor mistake (e.g. sign error)
7
correct proceedure with major mistake (e.g. an error like 1/a + 1/b = 1/(a+b) )
5
some understanding of the correct approach demonstrated
3
make a little progress towards the correct answer
3
correct answer, but no work shown
0
incorrectly named file
0
incorrect proceedure and no understanding demonstrated

Computer code for homework (if 3 points are possible) ....

3
executes correctly with good documentation*
2
executes correctly with poor documentation*
1-2
executes almost correctly with good documentation*
1
correct, but shows extraneous behavior. For example, if a 'debug' statement is left in the code.
0
comments/documentation is missing*
0
incorrectly named file
0
incorrect behavior, does not execute, etc.
*documentation may not be needed. For example, in Ch 1 Problems, #2 would not require comments, while #10 would need comments.

If 2 points are possible (general homework problems) ....

2
correct answer and solution proceedure clearly indicated or with minor mistake
1
correct proceedure with major mistake (e.g. an error like 1/a + 1/b = 1/(a+b) )
0
correct answer, but insufficient work shown
0
some understanding of the correct approach demonstrated
0
make a little progress towards the correct answer
0
incorrectly named file
0
incorrect proceedure or no understanding demonstrated

Homework you submit

  1. Do not use Matlab's clear command. This resets the grader-robot, and may cause your score to be reduced. (It won't increase your score).
  2. Include your name & Unity ID in the comments at the top of your file.
  3. Include an accurate Record of revisions. If you modify code from the book, you should appear in the comments.
  4. Graphics must include labels on all axis, and a title. If more than one function appears, each cureve should have different line types, and a legend should be indicated somewhere on the plot (it is sufficent to write the legend in ink). You may cut-and-paste graphs generated with technology in your homework, but you will not have this luxury for exams, so learn the command-line graphics methods.
  5. When the word compare , or "explain", or the phrase "compare and contrast" appears in the the problem, then you are expected to use complete sentences to describe what is being asked. For example, stating "A>B" is insuffcieint. Rather, I am expecting you to say something more, such as the reason "A>B", or if the difference is significant.
  6. No single-character variable names are permitted in anything that is submitted. Each homework problem that has any single-character names will be penalized (at least) 1 point. Projects that are submitted with single-character variable names will also be penalized 1 to 10 points for each single-character variable.

Last modified December 6, 2010

Contact Webmaster