Search:
MATLAB Central
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Create Account
Log In
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Download Zip
No BSD License
Highlights from
Introduction to Linear Algebra
BASIS(A)
BASIS Basis for the column space.
addvec(v,w)
ADDVEC Illustrate the sum v + w of 2-dimensional vectors.
atimesv(a,v)
atimesv displays a two-dimensional
cofactor(A,i,j)
COFACTOR Cofactors and the cofactor matrix.
cosine
COSINE Illustrates cosine formula and dot products.
cramer(A,b)
CRAMER Solve linear system by Cramer's Rule.
determ(A)
DETERM Matrix determinant from PLU.
eigen(A)
EIGEN Describe eigenvalues and eigenvectors.
eigen2(a)
EIGEN2 Two by two eigenvalues and eigenvectors.
fastfour(x)
FASTFOUR Fast Fourier Transform.
findpiv(A,k,p,tol)
FINDPIV Used by PLU to find a pivot for Gaussian elimination.
grams(A)
GRAMS Gram-Schmidt orthogonalization.
inverse(A)
INVERT Matrix inverse by Gauss Jordan elimination.
linefit(t,b)
LINEFIT Plot the least squares fit by a line.
linprog(A,b,c,k,maxit,tol)
LINPROG This code uses the revised simplex method to solve the linear
lsq(A,b)
LSQ Least squares.
null(A)
NULL Nullspace of a matrix
permdet(p)
PERMDET Determinant of a permutation.
plot2d(X)
PLOT2D Two dimensional plot.
plu(A)
PLU Pivoting, rectangular, LU factorization.
poly2str(c,x)
POLY2STR Convert a polynomial coefficient vector to a string.
power(A,v,n)
POWER Execute the power method on a 2 by 2 matrix A
projmat(A)
PROJMAT Projection matrix onto the column space.
randperm(n)
RANDPERM Random permutation.
rats(A)
RATS Print in "rational" form.
ref(A)
REF Reduced Row Echelon Form.
signperm(p)
SIGNPERM Sign of a permutation.
slu(A)
SLU Simple, square, LU factorization.
slv(A,b)
SLV Simple linear equation solver.
solve(A,b)
SOLVE Particular solution to a system of simultaneous linear equations.
splu(A)
SPLU Square LU factorization with row exchanges.
splv(A,b)
SPLV The solution to a square, invertible system.
xlinefit.m
The linefit program draws the closest (least squares) line to a set of points
Readme.m
INTRODUCTION TO LINEAR ALGEBRA TOOLBOX
house.m
"House" data set: The 2 by 12 matrix for the coordinates of the
hand.m
"Hand" data set for use with plot2d.
sixpack.m
SIXPACK shows the six orderings for the loops in matrix multiplication.
fourier.m
This code starts by creating the Fourier matrix.
expower.m
EXPOWER demonstrates the power method of finding the dominant eigenvalue
expage36.m
MARKOV2 Tutorial of Markov programming exercise.
expage35.m
EXPAGE35 Tutorial of Markov programming exercise.
Contents.m
Strang Linear Algebra Toolbox
xbasis.m
A basis consists of independent vectors whose combinations produce the whole
xcofactor.m
xcramer.m
Cramer's Rule solves Ax = b by determinants. The j-th component of the
xdeterm.m
Start with the determinant of a pascal matrix that has the pascal
xeigen.m
This code uses the power of MATLAB's eig program to find eigenvalues
xeigen2.m
This code gives the eigenvalues and eigenvectors of a 2 by 2 matrix.
xfindpiv.m
This is about the function FINDPIV, which is used by the PLU function
xgrams.m
The Gram-Schmidt process starts with independent vectors in the columns of A
xinverse.m
The inverse of A is here computed by Gauss-Jordan elimination on [A I].
movies.m
MATLAB has a "movie" to show how elimination reaches the
xlsq.m
xnull.m
The nullspace matrix N contains the "special solutions" to Ax=0.
xpermdet.m
The determinant of a permutation matrix is always 1 or -1. This is also
xplot2d.m
The front cover of the book shows "houses" that were drawn using plot2d.
xplu.m
Every matrix allows the factorization PA = LU. If A is square and invertible
xprojmat.m
Start with random matrices and project onto their column spaces.
xrandperm.m
xrats.m
This code gives the output in terms of FRACTIONS instead of decimals.
xref.m
% For every matrix A, the reduced echelon form R has all pivots = 1 and zeros
xsignperm.m
A permutation can be given two ways - as a series of numbers p or a matrix P.
xslu.m
xslv.m
The solve program slv uses slu to factor A into L*U. The matrix A must
xsolve.m
Choose a square matrix with dependent columns u, v, w.
xsplu.m
Choose a matrix with zeros on its diagonal:
xsplv.m
zeroone.m
This program creates matrices with 0's and 1's at random. It counts the
View all files
Introduction to Linear Algebra
by
Gilbert Strang
Gilbert Strang
(view profile)
1
file
28
downloads
4.0
20 Aug 2002
(Updated
30 Aug 2002
)
Companion Software
BASIS(A)
Contact us