MAST10008 Study Guide - Quiz Guide: Row Echelon Form, Gaussian Elimination, Identity Matrix

124 views3 pages
Lab 1
Square brackets start and end the matrix
-
Spaces separate entries
-
Semicolon starts new row
-
Entering a matrix:
+ = add
-
* = multiply
-
' = transpose
-
A(x,y) = m corrects entry in xth row and yth column
-
Correcting entries:
A(x,y) for an element in xth row and yth column
-
v=A(x,:) for xth row
-
v=A(:,y) for yth column
-
Extracting entries:
a:b:c = colon operator lists numbers from a to c in increments of b
-
Eye(m) = m x m identity matrix
-
Ones(m,n) = m x n matrix of ones
-
Zeros(m,n) m x n matrix of zeros
-
Diag(v) = sets v as diagonal of a matrix
-
Data entry shortcuts:
Lab 2
Rref(A) = reduced row echelon form of matrix A
-
Row reduction:
Inv(A) = inverse
-
Det(A) = determinant
-
Inverses and determinants:
[B,E] = rowswap(A,i,j) = swaps rows i and j of matrix A, outputs new matrix B and E is the
corresponding elementary matrix
-
[B,E] = mult(A,i,a) = multiplies row i of matrix A by a, outputs B and E
-
[B,E] = rowadd(A,a,i,j) = adds a multiples of row i to row j of matrix A, outputs B and E
-
Finding inverses "by hand":
Open function file
-
Editor window appears
-
%... = comment
-
Editing program:
Lab 3
Dot(x,y) = dot product
-
Cross(x,y) = cross product
-
Pgram(A) = draws parallelogram with row vectors in matrix A
-
Hold on = draw next graph on same set of axes as previous graph
-
Hold off = start a new graph, deletes old graph
-
Figure(2) = start new graph called figure 2, does not delete figure 1
-
Basic commands:
Start line with sys to declare variables as symbolic
-
Eg. Sys x y x1 x2 y1 y2
-
Simplify(…) = simplify a symbolic formula
-
Symbols:
Lab 4
MATLAB
Sunday, 21 May 2017
9:06 PM
AM1 Page 1
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

Document Summary

A(x,y) = m corrects entry in xth row and yth column. A(x,y) for an element in xth row and yth column v=a(x,:) for xth row v=a(:,y) for yth column. Data entry shortcuts: a:b:c = colon operator lists numbers from a to c in increments of b. Ones(m,n) = m x n matrix of ones. Diag(v) = sets v as diagonal of a matrix. Rref(a) = reduced row echelon form of matrix a. [b,e] = rowswap(a,i,j) = swaps rows i and j of matrix a, outputs new matrix b and e is the corresponding elementary matrix. [b,e] = mult(a,i,a) = multiplies row i of matrix a by a, outputs b and e. [b,e] = rowadd(a,a,i,j) = adds a multiples of row i to row j of matrix a, outputs b and e. Pgram(a) = draws parallelogram with row vectors in matrix a. Hold on = draw next graph on same set of axes as previous graph.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents