I want to built a matrix like the picture:
Have a trial:
\begin{displaymath}
\left( \begin{array}{ccc}
b_{11} & \ldots & b_{1j} & \ldots & b_{1j} \\
b_{21} & \ldots & x_{22} & \ldots & b_{1j}\\
\vdots & \ldots & \vdots & \ddots & \ddots\\
b_{n1} & \ldots & x_{nj} & \ldots & b_{ns}
\end{array} \right)
\end{displaymath}
However, it didn't work. Can someone help me? Thanks!


bmatrixand/orpmatrixfrom theamsmathpackage (see p.10 of the link) for what you're doing. – Herr K. Dec 09 '13 at 05:05\documentclass{...}and ending with\end{document}. – Herr K. Dec 09 '13 at 05:09\begin{array}{ccc}). This is the key. – Ch'en Meng Dec 09 '13 at 05:12\ldotsis better than\cdotswhen\ldotsis following and followed by two comma marks. In your situation,\cdotsis better. – Ch'en Meng Dec 09 '13 at 05:13