当前位置:网站首页>Latex常用总结(2):输入矩阵(输入矩阵、对角阵、方程组等)
Latex常用总结(2):输入矩阵(输入矩阵、对角阵、方程组等)
2022-07-27 21:08:00 【旅途中的宽~】
Latex如何输入各种矩阵:
\usepackage{
amsmath,amssymb,amsfonts}
1.直接用matrix、pmatrix、bmatrix、Bmatrix或者vmatrix
2.第二种方法 array
3.插入方程组
第一种方法
(1)直接用matrix
\begin{
equation*}
\begin{
matrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
matrix}
\end{
equation*}
我们的输出结果为:
(2)直接用pmatrix
\begin{
equation*}
\begin{
pmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
pmatrix}
\end{
equation*}
我们的输出结果为:
(3)直接用bmatrix
\begin{
equation*}
\begin{
bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
bmatrix}
\end{
equation*}
我们的输出结果为:
(4)直接用Bmatrix
\begin{
equation*}
\begin{
Bmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
Bmatrix}
\end{
equation*}
我们的输出结果为:
(5)直接用vmatrix
\begin{
equation*}
\begin{
vmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
vmatrix}
\end{
equation*}
我们的输出结果为:
(6)直接用Vmatrix
\begin{
equation*}
\begin{
Vmatrix}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 &1
\end{
Vmatrix}
\end{
equation*}
我们的输出结果为:
我们总结一下:
\begin{
equation*}
\begin{
gathered}
\begin{
matrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
matrix}
\quad
\begin{
pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
pmatrix}
\quad
\begin{
bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
bmatrix}
\quad
\begin{
Bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
Bmatrix}
\quad
\begin{
vmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
vmatrix}
\quad
\begin{
Vmatrix} 1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 &1 \end{
Vmatrix}
\end{
gathered}
\end{
equation*}
我们的输出结果为:
(7)最常用矩阵插入
\begin{
equation*}
\begin{
bmatrix}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
bmatrix}
\end{
equation*}
我们的输出结果为:
(8)对角矩阵插入:
\begin{
equation*}
\begin{
bmatrix}
a_{
11} & & & \\
& a_{
22} & & \\
& & a_{
33}&\\
& & &a_{
44}
\end{
bmatrix}
\end{
equation*}

(9)复杂矩阵的写法
\begin{
equation*}
\begin{
bmatrix}
a1 & a2 & \cdots & an\\
b1 & b2 & \cdots & bn\\
\vdots & \vdots &\ddots & \vdots\\
m1 & m2 & \cdots & mn
\end{
bmatrix}
\end{
equation*}
我们的输出结果为:
第二种方法 array
\begin{
equation*}
\left[
\begin{
array}{
ccc}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
array}
\right]
\end{
equation*}
我们的输出结果为:
矩阵乘法的总结
\begin{
equation*}
\left[
\begin{
array}{
c}
X \\
\Theta \\
y
\end{
array}
\right]
=
\left[
\begin{
array}{
ccc}
a_{
11} & a_{
12} & a_{
13} \\
a_{
21} & a_{
22} & a_{
23} \\
a_{
31} & a_{
32} & a_{
33}
\end{
array}
\right]
\left[
\begin{
array}{
c}
b_{
1} \\
b_{
2} \\
b_{
3}
\end{
array}
\right]
\end{
equation*}
我们的输出结果为:
插入方程组
\begin{
equation*}
\left\{
\begin{
array}{
c}
a_{
11}x_1+a_{
12}x_2+\cdots+a_{
1n}x_n=b_1 \\
a_{
21}x_1+a_{
22}x_2+\cdots+a_{
2n}x_n=b_2 \\
\cdots \\
a_{
n1}x_1+a_{
n2}x_2+\cdots+a_{
nn}x_n=b_n
\end{
array}
\right.
\end{
equation*}
我们的输出结果为:
边栏推荐
- Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
- 7.6万人停工!东芝宣布关闭日本所有工厂
- Current situation and future of Nb IOT industry: cross the threshold of 100million shipments and rush to 5g connection!
- Bank marketing predicts the success rate of a customer's purchase of financial products
- proteus仿真arduino中调用DHT11/22温湿度传感器
- NDK series (6): let's talk about the way and time to register JNI functions
- Solve 5g pain points, Meizu 17 smart 5g fast and stable technology release
- Yijia will release ODM orders in 2020 and make efforts in the middle and low-end market
- BUUCTF-Baby RSA
- 面试官问线程安全的List,看完再也不怕了!
猜你喜欢

Technical certification | Tupo software and Huawei cloud create a new situation of win-win cooperation

(十二)51单片机----用DS18B20浅测一下工(江)西的室外温度

TCP sticking and unpacking problem + Solution

29. Learn the stacked column chart of highcharts using percentage

Realize today's news website based on native JS

远程调试 idea配置remote debug、在远程服务器的程序中,添加JVM启动参数-Xdebug

File & recursion 14.1

Application of user portrait in precise push of wechat official account of scientific journals

Redis 哈希Hash底层数据结构

Design and implementation of spark offline development framework
随机推荐
The total investment is 60billion! Foxconn semiconductor high-end package test project officially settled in Qingdao
Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
Reduce error demonstration
Can Siemens PLC collect analog data of multiple slave stations in real time and wirelessly?
[December Haikou] the 6th International Conference on ships, marine and Maritime Engineering in 2022 (naome 2022)
The first activity of togaf10 standard reading club was successfully held, and the wonderful moments were reviewed!
Date的使用
2022 International Conference on civil, building and Environmental Engineering (iccaee 2022)
BUUCTF-RSA4
RPA流程自动化机器人是什么技术?如何实现办公自动化?
ZCMU--1720: 死亡如风,我要装逼
[NCTF2019]babyRSA1
Interviewer: let's talk about the specific process of network data transmission
Calling dht11/22 temperature and humidity sensor in Proteus simulation Arduino
Bank marketing predicts the success rate of a customer's purchase of financial products
Current situation and future of Nb IOT industry: cross the threshold of 100million shipments and rush to 5g connection!
sort排序
smartRefresh嵌套多个RecycleView滑动冲突及布局显示不全
Solve 5g pain points, Meizu 17 smart 5g fast and stable technology release