ENCMP100 Study Guide - Final Guide: Double-Precision Floating-Point Format, Computer Language, Semicolon
Document Summary
Header, e. g. a comment line showing the name, the author, and/or a list of variables defined in the program. Main part: manipulation on the variables using the built-in functions. Data are stored by using scalars, vectors and matrices, which collectively are called arrays. A collection of data values organized into rows and columns by a known name. The size of a matrix array is specified as number of rows x number of columns. The function size() is used to display the dimension of the array. Each element in an array can be represented by array name (the row, the column) Each row or column of a matrix is specified by the column or row number in the following way. We can combine different arrays to create a new one. A matlab variable is a region of memory containing an array. We must decide and specify which data type to associate it with.