CS 368-1: Learning a New Programming Language

MATLAB, Spring 2020
121 Psychology, W: 2:25 pm - 3:15 pm

Instructor: Michael O'Neill, moneill@cs.wisc.edu
4378 Computer Sciences
Office Hours: 2-3 pm Mondays
3 - 4 pm Tuesdays
3 - 4 pm Thursdays
and by appointment
TA Peyman Morteza
TBA Computer Sciences, morteza@wisc.edu
Office Hours TBA

URLs http://pages.cs.wisc.edu/~moneill/cs368
https://canvas.wisc.edu
https://piazza.com/wisc/spring2020/cs368001

Course Description CS 368 gives students an introduction to problem solving and programming techniques using MATLAB. Techniques are illustrated using sample problems drawn from elementary engineering and computer science. The course is offered Credit/No Credit and may not be taken for a grade.
Prerequisites Some programming experience is assumed; one semester of calculus (Math 221) is useful. Students are expected to be able to draw upon information from prior (high school) math and science classes.
Learning Objectives
  • Learn to use MATLAB to solve numeric computation and programming problems.
  • Learn to express all solution steps in clear and concise formal professional quality documents.

Course Content The material comes from many sources: lecture, the online course modules, the course web site, class email, Piazza discussions. There is no required textbook.

The course modules available online provide much information regarding how to solve problems using MATLAB. They include Learning Objectives, Lesson text, Examples,and Exercises. To get the most out of this resource, complete the examples and exercises in MATLAB before lecture for that week.


Hardware and Software The course is taught on the Computer Sciences Department's machines. The Linux machines have been assigned to the course; however, all students with CS accounts have logins on all the CS instructional machines (Linux and Windows) . Any workstation with MATLAB may be used to complete the work.

Note: MATLAB is available at no charge for UW students, faculty, staff, and researchers through the Campus Software Library; see DoIT's Software page:

https://www.doit.wisc.edu/services/software/

Course Work Your grade (Credit/No Credit) is based on:
  • Lecture attendance
  • Homework assignments: 6 to 7 homework assignments due roughly every other week

Students meeting both of the following requirements will receive 1 credit (i.e., a grade of CR) for the course:

  1. attendance at at least 11 of the 14 lectures
  2. a cumulative score of 70% or better on the assignments
Collaboration Policy Plagarism is a serious offense. Any persons or external sources and assistance (other than faculty or teaching assistants) used in preparing your work must be precisely and explicitly acknowledged. If you have any questions about what constitutes plagarism, please see the information at https://students.wisc.edu/student-conduct/academic-integrity/ or talk with instructor. Ignorance of what constitutes plagarism is not a defense; it is your responsibility to be sure. The web creates special risks. Cutting and pasting even a few words or lines of code (or retyping them) or paraphrasing material without reference constitutes plagarism.

ALL HOMEWORK ASSIGNMENTS MUST BE COMPLETED INDIVIDUALLY UNLESS OTHERWISE STATED IN THE HOMEWORK DOCUMENT. Any code viewed or otherwise used must be properly cited. If you have a need to cite references to code you have viewed or found, be sure that you understand the code being used.


Topics
  • MATLAB basics: the MATLAB environment, built-in commands and functions, matrix and vector creation and manipulation
  • MATLAB as a programming language: functions and scripts, variables, operators, control flow, console and file I/O
  • MATLAB as a numeric computation tool: plotting, linear systems, data interpolation and approximation, successive numeric approximation algorithms, finding roots, areas under curves

See the course website for details about which topics are covered in which weeks of the semester.


Disability Accomodations If you are a person with special circumstances that you believe will affect your class performance (for example, visual, hearing, or learning disabilites, or language differences), please let me know as soon as possible so that we may work together to develop strategies to meet both your needs and the requirements of the course. Provide a copy of your McBurney VISA to the instructor before the start of the third week of classes or as soon as a VISA is available. The McBurney Disability Resource Center (263-2741) provides resources to students with disabilities. You will need to provide documentation of disbility to them in order to receive services and accomodations.

Reminders
  • Notify me within the first two weeks of classes if you participate in religious observances that may interfere with course requirements.
  • Please let me know if you have any trouble accessing or using the technologies being used in this course (such as the lab computers, the course website, etc.).