ENGR 101 Study Guide - Midterm Guide: Duplicate Code, Relational Operator, Matlab

98 views2 pages
8 Aug 2018
School
Department
Course

Document Summary

Double - a data type for representing numbers. Vectorization - the ability of matlab code to work elegantly with multidimensional data as well as with scalars. Cell array - a matrix-like structure that can hold items of different types. Meshgrid - a function often used in 3d plotting. Csvread - a built-in function for reading data files. Randn - a function used to sample from a normal distribution. ; - used to suppress output from matlab statements. Local - a type of variable only available within a function"s scope. String - a vector containing a sequence of characters. 3d matrix - can be used to store image data in matlab. End - a keyword used to indicate the last valid index. A variable"s scope refers to the range of possible values it can hold. If x and y are matrices, the expression x . All elements contained in a single matrix must be the same type.