随笔分类 - Linear Algebra
摘要:0 mertix doesn't have inverse. Only square materix (mxm) has inverse Tanspose: % Initialize matrix A A = [1,2,0;0,5,6;7,0,9] % Transpose A A_trans = A
阅读全文
摘要:The whole idea is to conver matrix-matrix multiplication to matrix-vector multiplication. Not commutative: Identity matrix: % Initialize random matric
阅读全文
摘要:For example the predicting house pirces example, we can code it in one line for materix vector multiplication. The tip is conver size to a m*2 matrix,
阅读全文
摘要:Matrices are 2-dimensional arrays: It's a 4*2 matrix 1 column's matrice is called Vector; % The ; denotes we are going back to a new row. A = [1, 2, 3
阅读全文