# Confounded. Help?

• March 17th 2008, 08:15 PM
spacebound
Confounded. Help?
Hey,

I'm getting an error message with this code:

$\left[ \begin{array}{cccccc} 0.04688 & 0 & 0 & \ldots & 0 & -0.01563 \\ 0 & 0.04688 & 0 & \ldots & -0.01563 & 0 \\ 0 & 0 & 0.04688 & \ldots & 0 & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & -0.01563 & \ldots & 0 & 0 \\ 0 & -0.01563 & 0 & \ldots & 0.04688 & 0 \\ -0.01563 & 0 & 0 & \ldots & 0 & 0.04688 \\ \end{array} \right]$

I've narrowed it down to line 6, with the following error message: "Missing $inserted$ ... Help?
• March 17th 2008, 08:37 PM
Jhevon
Quote:

Originally Posted by spacebound
Hey,

I'm getting an error message with this code:

$\left[ \begin{array}{cccccc} 0.04688 & 0 & 0 & \ldots & 0 & -0.01563 \\ 0 & 0.04688 & 0 & \ldots & -0.01563 & 0 \\ 0 & 0 & 0.04688 & \ldots & 0 & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & -0.01563 & \ldots & 0 & 0 \\ 0 & -0.01563 & 0 & \ldots & 0.04688 & 0 \\ -0.01563 & 0 & 0 & \ldots & 0 & 0.04688 \\ \end{array} \right]$

I've narrowed it down to line 6, with the following error message: "Missing $inserted$ ... Help?

i don't think we use $signs for anything here. plus we use  tags as opposed to  tags are you using LaTeX code in some other application? • March 17th 2008, 11:08 PM CaptainBlack Quote: Originally Posted by spacebound Hey, I'm getting an error message with this code: $\left[ \begin{array}{cccccc} 0.04688 & 0 & 0 & \ldots & 0 & -0.01563 \\ 0 & 0.04688 & 0 & \ldots & -0.01563 & 0 \\ 0 & 0 & 0.04688 & \ldots & 0 & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & -0.01563 & \ldots & 0 & 0 \\ 0 & -0.01563 & 0 & \ldots & 0.04688 & 0 \\ -0.01563 & 0 & 0 & \ldots & 0 & 0.04688 \\ \end{array} \right]$ I've narrowed it down to line 6, with the following error message: "Missing$ inserted\$ ... Help?

$\left[
\begin{array}{cccccc}
0.04688 & 0 & 0 & \ldots & 0 & -0.01563 \\
0 & 0.04688 & 0 & \ldots & -0.01563 & 0 \\
0 & 0 & 0.04688 & \ldots & 0 & 0 \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\
0 & 0 & -0.01563 & \ldots & 0 & 0 \\
0 & -0.01563 & 0 & \ldots & 0.04688 & 0 \\
-0.01563 & 0 & 0 & \ldots & 0 & 0.04688 \\
\end{array} \right]$

is produced by:

\left[
\begin{array}{cccccc}
0.04688 & 0 & 0 & \ldots & 0 & -0.01563 \\
0 & 0.04688 & 0 & \ldots & -0.01563 & 0 \\
0 & 0 & 0.04688 & \ldots & 0 & 0 \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\
0 & 0 & -0.01563 & \ldots & 0 & 0 \\
0 & -0.01563 & 0 & \ldots & 0.04688 & 0 \\
-0.01563 & 0 & 0 & \ldots & 0 & 0.04688 \\
\end{array} \right]

You should consider using TeXaide when creating a LaTeX object this size.

RonL
• March 19th 2008, 02:47 PM
spacebound
Thanks to all!