¿Cuál es la mejor manera de crear esta fórmula con látex?

¿Cuál es la mejor manera de crear esta fórmula con látex?

Estoy intentando crear esta fórmula (la que tiene las matrices) para mi ensayo en látex, pero me cuesta encontrar la mejor manera de hacerlo.

fórmula matricial

Respuesta1

La codificación de este producto matricial es bastante sencilla, solo tómate el tiempo de escribir las cuatro matrices que componen la fórmula con variables indexadas.

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
\begin{equation*}
  \begin{pmatrix}
    y_1 \\
    \vdots \\
    y_n
  \end{pmatrix}=
  \begin{pmatrix}
    1 & x_{12} & \ldots & x_{1k} \\
    \vdots & \vdots & \ddots & \vdots \\
    1 & x_{N2} & \ldots & x_{Nk}
  \end{pmatrix}
  \begin{pmatrix}
    \beta_1 \\
    \vdots \\
    \beta_k
  \end{pmatrix}
  +
  \begin{pmatrix}
    u_1 \\
    \vdots \\
    u_k
  \end{pmatrix}
\end{equation*}
% <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
\end{document}
      

matriz del producto

información relacionada