Final Exam: 06/12/2015 08:00A.M. - 11:00A.M. The final covers Chapters 1-14 of the book. Below is a list of some of the important topics in those chapters. Caveat: this is not necessarily an exhaustive list of possible topics on the exam. Introduction - processor, memory, disk - binary Variables - assignment - identifiers - numeric variables, characters, strings, logical variables - numeric operators, logical operators, relational operators - floating point numbers - floating point rounding and comparing floats Scripts and Functions - user-defined functions - builtin math functions - input - fprintf 1D Arrays - row arrays, column arrays - constructing arrays - double colon operator - linspace and logspace - manipulating arrays - array indexing - integer indexing and logical indexing - end - relational operators on row arrays - strings as arrays - functions and arrays 1D Array Operators - elementwise arithmetic operators - +, -, .*, ./ - between an array and an array or an array and a scalar - logical operators - &, |, ~, xor - truth table - combining logical and relational operators File I/O - save and load Plotting - 2D plotting - colors and line styles - plotting in same window - subplots Strings - casting with char and uint8 - string comparisons - == - strcmp - string manipulations - strrep - strfind, strtrim, isspace, ischar, isletter - num2str, int2str, sprintf - str2double, str2num, sscanf - arrays of strings with char() 2D Arrays - construction, manipulation, indexing - flattening and reshaping - logical and relational operators 2D Arrays - Advanced concepts - basic properties: length, ndims, numel, size - elementary arrays: zeros, ones, eye, diag - Array manipulation: fliplr, flipud, rot90, tril, triu - repmat - tiling an array - reshape - reshaping an array - find - sort and sortrows - logical functions for arrays - type: ischar, isnumeric, isinteger, isfloat, islogical, isreal, isa - characteristics: isscalar, isvector, iscolumn, ismatrix, isempty - determine indices satisfying property: isprime, isfinite, isinf, isnan - all, any - ismember - array arithmetic operations - elementwise - plus +, minus - - times .*, rdivide ./ - power .^ - matrix - mtimes *, mrdivide /, mldivide \ - mpower ^ - transpose .', ctranspose ' - linear algebra functions - det, eig, inv, trace, norm, diag - solving a system of linear equations with Matlab - Ax = b - solve as A \ b - 2D functions - rand, randi - mean, std, median, mode, max, min, range, sum Images/Plots - 3D arrays - RGB image - indexed image - image file ops - 3D line plot - meshgrid - surf, mesh, contour - scatter - animation using pause Branches - if-else-end - if-elseif-else-end - switch-case-otherwise-end Loops - while-end - for-end - break Functions - functions handles - anonymous functions - local functions - nested functions - scope of variables - global variable - persistent variable - recursion - nargin Cell arrays and Structure arrays - constructing cell arrays - cell indexing and content indexing of cell arrays - structures - comma separated lists Numerics - interpolation - interp1 - least squares regression - polynomial least squares - polyfit, polyval - transformation of some nonlinear regression problems to linear polynomial regression - logspace vs. linspace - plotting: semilogx, semilogy, loglog - numerical differentiation - diff