# How to draw matrix with dots?

How can I draw a matrix with dots in tex like the one shown below:

• \dots \vdots \ddots plus bmatrix env – daleif Sep 3 '16 at 11:38

$A = \begin{bmatrix} a_{11} & a_{12} & \dots \\ \vdots & \ddots & \\ a_{K1} & & a_{KK} \end{bmatrix}$
• @Meysam -- $is LaTeX code to initiate an unnumbered display-math environment, and$ is LaTeX code to terminate this environment. Please check out the posting What are the differences between , \[, align, equation and displaymath? for more information on the subject of TeX and LaTeX display-math environments. – Mico Sep 3 '16 at 12:07