0

I want to write A=[Xtk Ytk .Xtk .Ytk]^T in LaTeX. ^T means that I want the transpose symbol "T" to come as superscript of the matrix. Xtk should appear as the variable X with subscript t and subsubscript k. Similarly for Ytk. Third entry, .Xtk, means that I want the . (dot) to come on top of Xtk, denoting velocity.

I want to know how these can be expressed in desired forms in LaTeX.

  • Hi! Do you mean $A = [X_t^k, Y_t^k, \dot X_t^k, \dot Y_t^k]^T$ ? – yo' Aug 28 '14 at 6:52
  • It should be as equation because I want to number that. – zurr Aug 28 '14 at 6:53
  • 4
    Well, in all honesty, your question shows that you miss some basic stuff. If I can, I would like recommend you reading some book on LaTeX, there's a nice list of them here: tex.stackexchange.com/q/11 – yo' Aug 28 '14 at 6:57
11

I agree with tohecz that you may need to do some basic reading regarding how to work with LaTeX. I hope this is what you want:

\documentclass{article}
\usepackage{mathtools}

\begin{document}
  \begin{equation}
     A=\begin{bmatrix}
         X_{t_{k}} &   Y_{t_{k}} & \dot{X}_{t_{k}}  &   \dot{Y}_{t_{k}}
        \end{bmatrix}^{T}
  \end{equation}
  \begin{equation}
     A=\begin{bmatrix}
         X_{t_{k}} \\
         Y_{t_{k}} \\
         \dot{X}_{t_{k}}\\
         \dot{Y}_{t_{k}}
        \end{bmatrix}
  \end{equation}
\end{document}

enter image description here

  • 4
    @zurr please mark this answer as such by klicking the check mark on the left. This will close this issue. Thanks. – LaRiFaRi Aug 28 '14 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.