0

enter image description here

Hi, how can I write this equation in Latex?

5
  • 1
    And why not simply write it like this: [X]_{M\times N} = [U]_{M\times M}[S]_{M\times N}[V]_{N\times N}?
    – AboAmmar
    Commented Jan 6, 2018 at 17:42
  • Welcome to TeX.SX!
    – Bobyandbob
    Commented Jan 6, 2018 at 17:45
  • Could you explain the notation of M and N in the (vertical) middle? What's the difference between that and the superscript T?
    – Werner
    Commented Jan 6, 2018 at 18:23
  • @Werner I guess the T stands for transposed. The formula looks a bit like a Smith normal form.
    – user121799
    Commented Jan 6, 2018 at 19:29
  • @AboAmmar: I agree. Perhaps this.
    – Werner
    Commented Jan 6, 2018 at 19:48

1 Answer 1

1

Never seen this kind of formula, so I don't know if this exactly what you want to achieve:

\documentclass{article}
\usepackage{amsmath}
\newcommand{\mymatr}[2]{\big[\overset{\scriptscriptstyle #1}{#2}\big]}
\newcommand{\myind}[1]{\raisebox{1pt}{$\scriptscriptstyle #1$}}
\begin{document}
    \[
    \mymatr{N}{X}\myind{M}=
        \myind{M}\mymatr{M}{U}\mymatr{N}{S}\myind{M}
        \mymatr{N}{V}^{T}\myind{N}
    \]
    or
    \[
    \mymatr{N}{X}\myind{M}=
    \myind{M}\mymatr{M}{U}\mymatr{N}{S}\myind{M}
    \mymatr{N}{V}^{\scriptscriptstyle T}\myind{N}
    \]
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .