190813

LaTeX代码

想要从输出:

1
2
3
4
5
6
7
8
9
10
11
\begin{align}
U_{10\times 10} =[u_{i|j}]=\begin{blockarray}{ccccc}
& x_1 & x_2 & \cdots & x_{10}\\
\begin{block}{c[cccc]}
x_1 & u_{1|1} & u_{1|2} & \cdots & u_{1|10} \\
x_2 & u_{2|1} & u_{2|2} & \cdots & u_{2|10} \\
\vdots & \vdots & \vdots & \ddots & \vdots \\
x_{10} & u_{10|1} & u_{10|2} & \cdots & u_{10|10}\\
\end{block}
\end{blockarray}
\end{align}

就是矩阵左边和上面带上x_i来表示,

1
2
3
4
5
6
7
8
9
10
\begin{align}
U_{10\times 10} =[u_{i|j}]=\begin{array}{c}
x_1\\ x_2 \\ \vdots \\ x_{10}
\end{array}\begin{bmatrix}
u_{1|1} & u_{1|2} & \cdots & u_{1|10} \\
u_{2|1} & u_{2|2} & \cdots & u_{2|10} \\
\vdots & \vdots & \ddots & \vdots \\
u_{10|1} & u_{10|2} & \cdots & u_{10|10}
\end{bmatrix}
\end{align}