Zeilen und Spaltenbezeichnung bei Matrizen
Verfasst: Di 25. Mär 2025, 12:36
Hallo.
Ich habe versucht, die Matrix aus dem angehängten Bild nachzubauen, bin aber mit dem Ergebnis nicht zufrieden:
Es wäre toll, wenn mir jemand dazu ein paar Hinweise geben könnte. Danke
Hier mein aktueller Stand:
Ich habe versucht, die Matrix aus dem angehängten Bild nachzubauen, bin aber mit dem Ergebnis nicht zufrieden:
- Die Zeilen der Matrix scheinen ein wenig „gequetscht“. Kann man da einen manuellen Zeilenabstand einstellen?
- die obere graue Zeile (x1 x2 ... xu) passen nicht ganz zu den Spalten der Matrix.
- \underset ist zwar ganz funny, ist aber nicht so, wie im Bild: "n x u" müsste unter "A" stehen.
Es wäre toll, wenn mir jemand dazu ein paar Hinweise geben könnte. Danke
Hier mein aktueller Stand:
\documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \usepackage{array} \begin{document} \[ A := \begin{bmatrix} \frac{\partial f_1}{\partial x_1} & \frac{\partial f_1}{\partial x_2} & \cdots & \frac{\partial f_1}{\partial x_u} \\ \frac{\partial f_2}{\partial x_1} & \frac{\partial f_2}{\partial x_2} & \cdots & \frac{\partial f_2}{\partial x_u} \\ \vdots & \vdots & \ddots & \vdots \\ \frac{\partial f_n}{\partial x_1} & \frac{\partial f_n}{\partial x_2} & \cdots & \frac{\partial f_n}{\partial x_u} \end{bmatrix} \] \[ A := \underset{\textcolor{gray}{(n \times u)}}{\underbrace{\begin{bmatrix} \frac{\partial f_1}{\partial x_1} & \frac{\partial f_1}{\partial x_2} & \cdots & \frac{\partial f_1}{\partial x_u} \\ \frac{\partial f_2}{\partial x_1} & \frac{\partial f_2}{\partial x_2} & \cdots & \frac{\partial f_2}{\partial x_u} \\ \vdots & \vdots & \ddots & \vdots \\ \frac{\partial f_n}{\partial x_1} & \frac{\partial f_n}{\partial x_2} & \cdots & \frac{\partial f_n}{\partial x_u} \end{bmatrix}}} \] \[ A := \underset{\textcolor{gray}{(n \times u)}}{ \underbrace{ \begin{array}{c@{}c} & \begin{array}{cccc} \textcolor{gray}{x_1} & \textcolor{gray}{x_2} & \cdots & \textcolor{gray}{x_u} \end{array} \\ \begin{array}{c} \textcolor{gray}{F_1} \\ \textcolor{gray}{F_2} \\ \vdots \\ \textcolor{gray}{F_n} \end{array} & \left[ \begin{array}{cccc} \frac{\partial f_1}{\partial x_1} & \frac{\partial f_1}{\partial x_2} & \cdots & \frac{\partial f_1}{\partial x_u} \\ \frac{\partial f_2}{\partial x_1} & \frac{\partial f_2}{\partial x_2} & \cdots & \frac{\partial f_2}{\partial x_u} \\ \vdots & \vdots & \ddots & \vdots \\ \frac{\partial f_n}{\partial x_1} & \frac{\partial f_n}{\partial x_2} & \cdots & \frac{\partial f_n}{\partial x_u} \end{array} \right] \end{array} } } \] \end{document}