# CS99: Lecture Notes

14 12/2 lecture notes
(wrap-up, course summary, evaluations)
none Chapter 5
13 11/25 lecture notes (subfunctions,function functions, recursion) L13cs99fa02.txt Chapter 5
12 11/18 lecture notes (functions) L12cs99fa02.txt Chapter 5
11 11/11 lecture notes (functions)
example without functions
same example with functions
function example
function example
MATLAB's help on scripts
MATLAB's help on functions
L11cs99fa02.txt
rolldice1.txt
rolldice2.txt
randInt.txt
scripthelp.txt
functionhelp.txt
Chapter 5
10 11/4 lecture notes (arrays):
arrays of numbers
matrices (not required)
arrays of logical values
arrays of characters (see L3, too)
structures
generic arrays (not required)
L10cs99fa02.txt
arrays.txt
matrices.txt
logicalarrays.txt
strings.txt
structs.txt
cellarrays.txt
2.1-2.8, 6.2, 6.3, 7.3
9 10/28 blankified lecture notes (nested loops)
mostly filled in
function for reprompting user
example prelim with useful loops
solution to prob4a
solution to prob4b
L9blankscs99fa02.txt
L9cs99fa02.txt
t1cs100mfa00.pdf
prob4a.txt
prob4b.txt
2.1-2.8, 6.2, 6.3, 7.3
8 10/21 lecture notes (loops)
MATLAB's help on FOR
definite loops
indefinite loops
mixed loops
L8cs99fa02.txt
matlabforhelp.txt
definite.txt
indefinite.txt
mixed.txt
Chapter 4
7 10/7 lecture notes
MATLAB's help on WHILE
finding max example
L7cs99fa02.txt
matlabwhilehelp.txt
maxvalues.txt
Chapter 4
6 9/30 class discussion class discussion Chapter 4
5 9/23 blankified notes on selection statements
lecture notes
determining if two values are close
brief nested if example
lots of selection examples
solutions to those examples
swapping two values
finding max/min for two values
solutions to max/min
longer example of selection
L5blankscs99fa02.txt
L5cs99fa02.txt
closeness.m
nestedselection.m
selectionblanks.m
selection.txt
swap.m
swapminmaxblanks.m
swapminmax.txt
weightcodes.m
Chapter 3
4 9/16 Introduction to selection statements L4cs99fa02.pdf Chapter 3
3 9/9 MATLAB tokens
examples of tokens
names of keyboard characters
numerical codes of ASCII characters
using MATLAB to show characters
L3cs99fa02.txt
matlabtokens.txt
kb.gif
ascii.txt
characters.txt
Chapter 2
2 9/2 Introduction to CS99 and programming Syllabus
Waiver
L2cs99fa02.txt
Chapter 1
1 8/29 Choosing your intro course See CS100 intro CS99, CS100 Syllabi