1

How to have a matrix draw like this?

enter image description here

\begin{bmatrix}
m_{11} & m_{12} & ... & M_{1c}\\
m_{21} & m_{22} & ... & M_{2c}\\
m_{l1} & m_{l2} & ... & M_{lc}
\end{bmatrix}

Below is my output: enter image description here

aan
  • 2,663
  • 1
    You are actually just looking for the appropriate symbol - \vdots in this case. Also, you need \ldots or \cdots (depending on preference) for the horizontal dots. – Werner Dec 29 '19 at 02:09
  • Just fleshing out @Werner's comment and adding \ddots to the story: \documentclass{article} \usepackage[fleqn]{amsmath} \begin{document} \[\begin{bmatrix} m_{11} & m_{12} & \cdots & m_{1c}\\ m_{21} & m_{22} & \cdots & m_{2c}\\ \vdots & \vdots & \ddots & \vdots\\ m_{l1} & m_{l2} & \cdots & m_{lc} \end{bmatrix}\] \end{document}. For fancier realizations, you may want to look at the nicematrix package. –  Dec 29 '19 at 02:13

1 Answers1

3

(posting this so that the query may be considered to have received a complete answer.)

I suggest using \vdots and \ddots in the third row.

enter image description here

\documentclass{article}
\usepackage{amsmath} % for 'bmatrix' env.
\usepackage{newtxtext,newtxmath} % optional (Times Roman font)
\begin{document}
\[
\mathbf{A}_{l\times c}=
\begin{bmatrix}
m_{11} & m_{12} & \dots  & m_{1c} \\
m_{21} & m_{22} & \dots  & m_{2c} \\
\vdots & \vdots & \ddots & \vdots \\
m_{l1} & m_{l2} & \dots  & m_{lc}
\end{bmatrix}
\]
\end{document}
Mico
  • 506,678