ENGR 101 Study Guide - Comprehensive Final Exam Guide - Amplitude Modulation, Positive-Definite Matrix, Array Data Structure
Document Summary
"whos" lists in alphabetical order the names, sizes, and types of all the variables in the workspace. "char" (character) refers to the letters, single quotes ("") Strings refer to words () ones(m,n) creates a m * n matrix of zeroes ones(m) same, but uses m for both rows and columns magic(s) creates an s x s magic matrix o. Each column sum = each row sum = each diagonal sum repmat(a, xtimes, ytimes) o. Creates a new matrix based on repeating matrix a a certain number of times in the x and y direction reshape(a, numrows, numcols) o. Creates a new matrix with the same elements as a, but the requested number of rows and columns. The dimension must match with the original number of of rows and columns. The dimension must match with the original number of elements in a. Numel(x) yields the # of elements in x.