gistlib
other matlab categories
linear-algebra code snippets in matlab
a= (0, 0, 1, 0, · · · , 0)^t, y = (y1, y2, · · · , y21),aa = y. calculate relative error in a if y(5) = y(5) + 0.01 in matlab
boost matrix in matlab
calculate hessian normal form in matlab
compute the rank of a matrix in matlab
find rref for matrix a = [1 2 3 4 ; 2 3 4 5 ; 3 4 5 6; 1 2 0 1]; b = [0 0 0 0]'; in matlab
find the size of matrix m such that size(reshape(m,1,1,25))=(25,1,1) in matlab
gaussian elimination in matlab
given three equations and four variables, solve the system in ax = b form in matlab
hesse normal form in matlab
how to calculate the svd decomposition of a matrix in matlab
inner product of any two vectors x and y in rn. that is, the inputs are x and y and n; the output is (x, y) = x ^t y. in matlab in matlab
pseudoinverse method to solve overdetermined system of equations in matlab
rref of an augmented matrix in matlab
v1 = x ∥x∥2 , w2 = y − αv1, v2 = w2 ∥w2∥2 . find the formula for α such that (v1, w2) = (v1, v2) = 0. then, v1, v2 form a unit orthogonal basis for the sub-space spanned by x and y in matlab
write a program that performs the transformation of points induced by a matrix in matlab
gistlib
by LogSnag