%Linear Algebra Matlab
%1ai) There is one positive eigenvalue
%1aii) There is one negative eigenvalue
%1aiii) 1.5 and -2.5
%1B) There are no eigenvalues for this part
%1bii) There are no real
function [E, R] = elim(A)
% elim E*A = R factorization.
% E = elim(A) returns the elimination matrix E
% that gives the reduced row echelon form E*A = R.
% If A is square and invertible, then E = inv(A).
% [E, R] = elim(A) returns the elimination matr
function X = house
% X = house stores the "house" data set in X.
% The "house" data set is for use with plot2d.
% Try plot2d(A*X) for various 2 by 2 matrices A.
% See also hand.
X = [ -6 -6 -7 0 7 6 6 -3 -3 0 0 -6
-7 2 1 8 1 2 -7 -7 -2 -2 -7 -7 ];
function [Q, R] = grams(A)
% grams Gram-Schmidt orthogonalization of the columns of A.
% The columns of A are assumed to be linearly independent.
% Q = grams(A) returns an m by n matrix Q whose columns are
% an orthonormal basis for the column space of