CS 30 Syllabus - Spring 2017

Instructor:

Mart Molle, Professor of Computer Science & Engineering

Office: Winston Chung Hall, room 331
voice: 951-827-7354  email: mart@cs.ucr.edu  web: www.cs.ucr.edu/~mart
OFFICE HOURS:
Tuesday 1:30-2:30pm, Wednesday 10:00-11:00am

Textbook:

Either one of the following is acceptable:
Mastering Matlab 7, by Hanselman and Littlefield (ISBN 0131430181, 2005 edition)
Mastering Matlab, by Hanselman and Littlefield (ISBN 0136013309, 2012 edition)
I recommend that you buy a used copy, or a digital copy.  Try looking at Google books.

Lecture topics:


Chapter 2
Basic Matlab Features: command prompt, command separators (, ;) and continuation (...), variable names / reserved words / special variables, arithmetic expressions, number representation in floating point
Chapter 4
Script M-files: using the editor to create/modify them, execution environment, getting user input, controlling output
Chapter 5
Arrays and Array Operations: Matlab treats everything like a 2-dimensional matrix (even if it is a single scalar value), construction using [ ], accessing using ( ), the colon : operator and ranges, array expressions - element-by-element vs. matrix oriented
Chapter 6
Multi-dimensional arrays and matrix operations: changing the shape of an array, generating arrays with special structure, using matrix oriented expressions
Chapter 7
Numeric Data Types: Alternative methods for representing numbers (integers vs. floating point, amount of memory), conversion between representation
Chapter 8
Cell Arrays and Structures: how to construct them, how to access them
Chapter 9
Character Strings: representation as character arrays, type conversion, searching and modifying
Chapter 10
Relational and Logial Operations:
Chapter 11
Control Flow: if, while, for, break
Chapter 12
Functions: parameters, environments and scope of variables, recursion, file access (Chapter 14)
Chapters 19, 20, 21
Interpolation, Polynomials, Splines:
Chapter 22
Fourier Transform:
Chapters 26, 27
Two and Three Dimensional Graphics:

Grading:

Midterm exam: 30%  -- Written, closed-book in lecture on Thursday, May 4th. (Covers all material up to chapter 9, except strutures)
Final exam: 45%
Lab exercises: 15%
Lab project(s): 10%