note:
latex 只用\begin{equation}
和 \end{equation}
表示公式, markdown使用$$
表示公式。
数学
- 基础数学运算
运算 | 符号 | 备注 |
---|---|---|
乘法 | \times | × \times × |
除法 | \div | ÷ \div ÷ |
克罗内克积 | \otimes | ⊗ \otimes ⊗ |
分数 | \frac{x}{y} | x y \frac{x}{y} yx |
不等于 | \neq | ≠ \neq = |
向下取整 | \lfloor x \rfloor | ⌊ x ⌋ \lfloor x \rfloor ⌊x⌋ |
向上取整 | \lceil x \rceil | ⌈ x ⌉ \lceil x \rceil ⌈x⌉ |
求和 | \sum_{i=1}^{l-1}k_{i}+1 | ∑ i = 1 l − 1 k i + 1 \sum_{i=1}^{l-1}k_{i}+1 ∑i=1l−1ki+1 |
求和limits | \sum\limits_{i=1}^{l-1}k_{i}+1 | ∑ i = 1 l − 1 k i + 1 \sum\limits_{i=1}^{l-1}k_{i}+1 i=1∑l−1ki+1 |
- 希腊字母
字母 | 符号 |
---|---|
α \alpha α | \alpha |
β \beta β | \beta |
θ \theta θ | \theta |
η \eta η | \eta |
- 期望
$\mathbb{E} \left \{ A \right \}$
E { A } \mathbb{E} \left \{ A \right \} E{A}
- 分布
$\textbf{s}_{n,k} \sim \mathcal{CN}(0,1) $
$\textbf{s}_{n,k} \sim \mathcal{CN}(0,1) $
多行
split, array, aligned
split
\begin{equation}
\begin{split}
\textbf{y}&=\textbf{B} \textbf{s}_{\rho} + \textbf{z}\\
&=\left[ \textbf{P}_1 \otimes \textbf{h}_1, \quad \textbf{P}_2 \otimes \textbf{h}_2, \quad \cdots ,\quad \right.\\
&\left. \quad \textbf{P}_N \otimes \textbf{h}_N \right] [\sqrt{\rho_1}\textbf{s}_1^T, \sqrt{\rho_2}\textbf{s}_2^T, \cdots, \sqrt{\rho_N}\textbf{s}_N^T]^T
+ \textbf{z}\\
&=\left[ \textbf{P}_1 \otimes \frac{\textbf{h}_1}{\|\textbf{h}_1\|_2}, \quad \textbf{P}_2 \otimes \frac{\textbf{h}_2}{\|\textbf{h}_2\|_2}, \quad \cdots \right.\\
&\left. \quad \textbf{P}_N \otimes \frac{\textbf{h}_N}{\|\textbf{h}_N\|_2} \right]
\left[
\begin{array}{c}
\sqrt{\rho}_1 \textbf{s}_1^T \|\textbf{h}_1\|_2 \\
\vdots \\
\sqrt{\rho}_2 \textbf{s}_2^T \|\textbf{h}_2\|_2 \\
\vdots \\
\sqrt{\rho}_N \textbf{s}_N^T \|\textbf{h}_N\|_2
\end{array}
\right]
+ \textbf{z} \\
& = \tilde{\textbf{B}} \tilde{\textbf{s}} + \textbf{z}
\end{split}
\end{equation}
\begin{equation}
\begin{split}
\textbf{y}&=\textbf{B} \textbf{s}_{\rho} + \textbf{z}\
&=\left[ \textbf{P}_1 \otimes \textbf{h}_1, \quad \textbf{P}_2 \otimes \textbf{h}_2, \quad \cdots ,\quad \right.\
&\left. \quad \textbf{P}_N \otimes \textbf{h}_N \right] [\sqrt{\rho_1}\textbf{s}_1^T, \sqrt{\rho_2}\textbf{s}_2^T, \cdots, \sqrt{\rho_N}\textbf{s}_NT]T
+ \textbf{z}\
&=\left[ \textbf{P}_1 \otimes \frac{\textbf{h}_1}{|\textbf{h}_1|_2}, \quad \textbf{P}_2 \otimes \frac{\textbf{h}_2}{|\textbf{h}_2|_2}, \quad \cdots \right.\
&\left. \quad \textbf{P}_N \otimes \frac{\textbf{h}_N}{|\textbf{h}_N|_2} \right]
\left[
\begin{array}{c}
\sqrt{\rho}_1 \textbf{s}_1^T |\textbf{h}_1|_2 \
\vdots \
\sqrt{\rho}_2 \textbf{s}_2^T |\textbf{h}_2|_2 \
\vdots \
\sqrt{\rho}_N \textbf{s}_N^T |\textbf{h}_N|_2
\end{array}
\right]
+ \textbf{z} \
& = \tilde{\textbf{B}} \tilde{\textbf{s}} + \textbf{z}
\end{split}
\end{equation}
##array
\left[
\begin{array}{c}
\sqrt{\rho}_1 \textbf{s}_1^T \|\textbf{h}_1\|_2 \\
\vdots \\
\sqrt{\rho}_2 \textbf{s}_2^T \|\textbf{h}_2\|_2 \\
\vdots \\
\sqrt{\rho}_N \textbf{s}_N^T \|\textbf{h}_N\|_2
\end{array}
\right]
为
$
\left[
\begin{array}{c}
\sqrt{\rho}_1 \textbf{s}_1^T |\textbf{h}_1|_2 \
\vdots \
\sqrt{\rho}_2 \textbf{s}_2^T |\textbf{h}_2|_2 \
\vdots \
\sqrt{\rho}_N \textbf{s}_N^T |\textbf{h}_N|_2
\end{array}
\right]
$
相同的,以单边花括弧开始的多行公式可以表示为:
$
\left \{
\begin{array}{lr}
h_nx_{\tau n} = \overrightarrow{0}, \quad if \; n \in \text{I} &\\
h_nx_{\tau n} \not= \overrightarrow{0}, \quad if \; n \not\in \text{I}&
\end{array}
\right.
$
\begin{equation}
\left {
\begin{array}{lr}
h_nx_{\tau n} = \overrightarrow{0}, \quad if ; n \in \text{I} &\
h_nx_{\tau n} \not= \overrightarrow{0}, \quad if ; n \not\in \text{I}&
\end{array}
\right.
\end{equation}
aligned
\begin{equation}
\begin{aligned}
\text{SINR}_n &= \frac { \frac{(MT-N_sd)} {MT} {\rho}_n \textbf{h}_n^H\textbf{h}_n } {\frac{d}{MT}\sum\limits_{j=n+1}^{N_a}{ {\rho}_j \textbf{h}_j^H\textbf{h}_j } + 1} \\
& = hhdhdh
\end{aligned}
\end{equation}
\begin{equation}
\begin{aligned}
\text{SINR}_n &= \frac { \frac{(MT-N_sd)} {MT} {\rho}_n \textbf{h}_n^H\textbf{h}n } {\frac{d}{MT}\sum\limits{j=n+1}^{N_a}{ {\rho}_j \textbf{h}_j^H\textbf{h}_j } + 1} \
& = hhdhdh
\end{aligned}
\end{equation}
算法
\begin{algorithm*}
\caption{\small Title}
\begin{algorithmic}[1]
\REQUIRE $[\text{split}]=[0,F^{-1}(\frac{1}{l}),\cdots,F^{-1}(\frac{l-1}{l}),\infty], f_{\sigma^2=1/2,2M}(x) $
\STATE {Initialization: $P_l = 0, l \in [1,L]$ };
\FOR {$l \in [1, L]$}
\IF {$max(\text{split}[l],\text{split}^J[l]) < min(\text{split}[l+1],\text{split}^J[l+1])$}
\STATE $P_l=\int_{0,\text{split}^J[l])}^{min(0,8)}f_{\sigma=1/2,2M}(x)dx$
\ENDIF
\ENDFOR
\ENSURE $P = XXXX $
\end{algorithmic}
\end{algorithm*}