This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Edward Neuman Department of Mathematics Southern Illinois University at Carbondale [email protected] One of the nice features of MATLAB is its ease of computations with vectors and matrices. In this tutorial the following topics are discussed: vectors and matrices in MATLAB, solving systems of linear equations, the inverse of a matrix, determinants, vectors in ndimensional Euclidean space, linear transformations, real vector spaces and the matrix eigenvalue problem. Applications of linear algebra to the curve fitting, message coding and computer graphics are also included. For the reader's convenience we include lists of special characters and MATLAB functions that are used in this tutorial. Special characters ; Semicolon operator ' Conjugated transpose .' Transpose * Times . Dot operator ^ Power operator [ ] Emty vector operator : Colon operator = Assignment == Equality \ Backslash or left division / Right division i, j Imaginary unit ~ Logical not ~= Logical not equal &amp; Logical and  Logical or { } Cell 2 Function Description acos Inverse cosine axis Control axis scaling and appearance char Create character array chol Cholesky factorization cos Cosine function cross Vector cross product det Determinant diag Diagonal matrices and diagonals of a matrix double Convert to double precision eig Eigenvalues and eigenvectors eye Identity matrix fill Filled 2D polygons fix Round towards zero fliplr Flip matrix in left/right direction flops Floating point operation count grid Grid lines hadamard Hadamard matrix hilb Hilbert matrix hold Hold current graph inv Matrix inverse isempty True for empty matrix legend Graph legend length Length of vector linspace Linearly spaced vector logical Convert numerical values to logical magic Magic square max Largest component min Smallest component norm Matrix or vector norm null Null space num2cell Convert numeric array into cell array num2str Convert number to string ones Ones array pascal Pascal matrix plot Linear plot poly Convert roots to polynomial polyval Evaluate polynomial rand Uniformly distributed random numbers randn Normally distributed random numbers rank Matrix rank reff Reduced row echelon form rem Remainder after division reshape Change size roots Find polynomial roots sin Sine function size Size of matrix sort Sort in ascending order 3 subs Symbolic substitution sym Construct symbolic bumbers and variables tic Start a stopwatch timer title Graph title toc Read the stopwatch timer toeplitz Tioeplitz matrix tril Extract lower triangular part triu Extract upper triangular part vander Vandermonde matrix varargin Variable length input argument list zeros Zeros array The purpose of this section is to demonstrate how to create and transform vectors and matrices in MATLAB....
View
Full Document
 Spring '08
 Zhang
 Linear Algebra

Click to edit the document details