Prelim 2 topics
Topics/ideas
- 2-dimensional array (matrix)
- 3-dimensional array (e.g., color image data)
- Character and string (array of characters)
- Cell array
sort()
and permutation indices
- File input/output
- Array (2-d, 3-d) algorithms/patterns: full array traverse, partial array traverse (e.g., rectangular subarray, triangular subarray)
- Nested loop patterns for all combinations
- Computing in type
uint8
- Vectorized code (as discussed in lecture)
Students are responsible for all material covered in lecture, discussion, homework and the assigned reading:
- Lecture: up to and including Lecture 19
- Discussion: up to and including Exercise 9
- Homework: up to and including Project 4
- Assigned reading: see Lecture notes through Lecture 19.
Read this note on vectorized code.
Do not use built-in functions that have not been discussed in class.
Matlab predefined (built-in) functions that may be needed for solving the exam problems will be listed. You are expected to know how to use them.
Matlab statements that students may not use:
switch
break
continue
return
try
, catch