随笔分类 -  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 阅读全文
posted @ 2020-08-16 21:04 Zhentiw 阅读(217) 评论(0) 推荐(0) 编辑
摘要:The whole idea is to conver matrix-matrix multiplication to matrix-vector multiplication. Not commutative: Identity matrix: % Initialize random matric 阅读全文
posted @ 2020-08-16 20:42 Zhentiw 阅读(208) 评论(0) 推荐(0) 编辑
摘要: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, 阅读全文
posted @ 2020-08-15 20:52 Zhentiw 阅读(170) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2020-08-15 20:21 Zhentiw 阅读(116) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示