当前位置:网站首页>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*}
我们的输出结果为:
边栏推荐
- What technology is RPA process automation robot? How to realize office automation?
- Software test function test full set of common interview questions [function test] interview summary 4-2
- 携手长江存储,江波龙推出全球最小扩展卡
- Yijia will release ODM orders in 2020 and make efforts in the middle and low-end market
- 详解分布式系统的幂等
- Arm32进行远程调试
- JUC工具包学习
- Comparison between virtual memory and cache
- TOGAF10标准读书会首场活动圆满举办,精彩时刻回顾!
- My annual salary is 1million, and I don't have clothes more than 100 yuan all over my body: saving money is the top self-discipline
猜你喜欢

Key points of data management

29.学习Highcharts 使用百分比的堆叠柱形图
![[C language] address book (dynamic version)](/img/29/3df19c187bee31ee4671e12d7cc7ff.jpg)
[C language] address book (dynamic version)

Realization of gobang man-machine combat

突发,微信重要通知

CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021

为什么 Redis 集群要使用反向代理? 看这篇就明白了

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

Character stream learning 14.3

(十二)51单片机----用DS18B20浅测一下工(江)西的室外温度
随机推荐
What is the difference between concurrency and parallelism?
TCP sticking and unpacking problem + Solution
【JS 逆向百例】某公共资源交易网,公告 URL 参数逆向分析
主数据管理理论与实践
硬布线控制器的特点:
Comparison between virtual memory and cache
ELK日志分析系统安装和部署
Those "experiences and traps" in the data center
Redis的分布式锁
org.junit.runners.model.InvalidTestClassError: Invalid test class ‘com.zhj.esdemo.MysqlTests‘: 1.
Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
实现按照序号命名的txt文件由后往前递补重命名文件
Design and implementation of spark offline development framework
Software test function test full set of common interview questions [function test] interview summary 4-2
Application of user portrait in precise push of wechat official account of scientific journals
CPU的控制方式
Yijia will release ODM orders in 2020 and make efforts in the middle and low-end market
Interviewer: let's talk about the specific process of network data transmission
数据管理的重点
Lua basic grammar learning