[ 机器学习 - 吴恩达 ] Linear Algebra (代数) review | 3-1 Matrices and vectors
Matrix:
Rectangular (矩形) array of numbers:
\(\begin{bmatrix}
1402&191\\
1371&821\\
949&1437\\
147&1448\\
\end{bmatrix}\)?=>?\(4\times2\) matrix
\(\begin{bmatrix} 1&2&3\\ 4&5&6\\ \end{bmatrix}\)?=>?\(2\times3\) matrix
Dimension of matrix: number of rows x number of columns
Matrix Elements (entries (项) of matrix)
\[A=\begin{bmatrix} 1402&191\\ 1371&821\\ 949&1437\\ 147&1448\\ \end{bmatrix}\]\(A_{ij}="i,j\ entry" in\ the\ i^{th}\ row,\ j^{th}\ column\).
\(A_{32}=1437\), \(A_{43}=undefined\ (error)\)
Vector: An nx1 matrix
\(y=\begin{bmatrix} 460\\ 232\\ 315\\ 178\\ \end{bmatrix}\)?=>?n = 4, 4-dimension vector
\(y_i=i^{th}\ element\)
\(y_2=232\)
矩阵通常使用大写字母表示:A,B,C,X;向量通常使用小写字母表示:a,b,x,y。