von Noah D. » Mo 4. Mai 2015, 12:59
Hi Leute,
ich habe folgendes Problem. Leider haben alle meine Versuche zu sehr seltsamen Ergebnissen gefuehrt.
Anbei mein M-Beispiel:
\documentclass[12pt,oneside]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel}
\usepackage[left=6cm,right=2cm, top=3cm, bottom=3cm]{geometry} %layout
\usepackage[fleqn]{amsmath} %Math
\usepackage{amsthm}
\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{acronym}
\usepackage[norndcorners,customcolors,nofill]{hf-tikz}
\hfsetbordercolor{gray}
\usepackage{kbordermatrix}
\usepackage{etoolbox}
\let\bbordermatrix\bordermatrix
\patchcmd{\bbordermatrix}{8.75}{4.75}{}{}
\patchcmd{\bbordermatrix}{\left(}{\left[}{}{}
\patchcmd{\bbordermatrix}{\right)}{\right]}{}{}
\usepackage{showframe}
\begin{document}
\begin{align}
E(r) & =(X^\top V^{-1} X)^{-1}(X^\top V^{-1} y)\notag\\
& = \begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} \notag
\begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix}\\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix} \notag \\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} + P^\top \Omega^{-1} P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} \Pi + P^\top \Omega^{-1} Q
\end{pmatrix}
\end{bmatrix}
\end{align}
\end{document}
Wie ihr sieht, liegt die zweite Zeile ausserhalb des definierten Bereiches.
Wie kann ich am besten die zweite Zeile geschickt darstellen? Ich dachte an etwa = [...]
x [...]
=....
Kann jemand mir helfen?
Beste Gruesse,
Noah
Hi Leute,
ich habe folgendes Problem. Leider haben alle meine Versuche zu sehr seltsamen Ergebnissen gefuehrt.
Anbei mein M-Beispiel:
[code]
\documentclass[12pt,oneside]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel}
\usepackage[left=6cm,right=2cm, top=3cm, bottom=3cm]{geometry} %layout
\usepackage[fleqn]{amsmath} %Math
\usepackage{amsthm}
\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{acronym}
\usepackage[norndcorners,customcolors,nofill]{hf-tikz}
\hfsetbordercolor{gray}
\usepackage{kbordermatrix}
\usepackage{etoolbox}
\let\bbordermatrix\bordermatrix
\patchcmd{\bbordermatrix}{8.75}{4.75}{}{}
\patchcmd{\bbordermatrix}{\left(}{\left[}{}{}
\patchcmd{\bbordermatrix}{\right)}{\right]}{}{}
\usepackage{showframe}
\begin{document}
\begin{align}
E(r) & =(X^\top V^{-1} X)^{-1}(X^\top V^{-1} y)\notag\\
& = \begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1} \notag
\begin{bmatrix}
\begin{pmatrix}
I&P^\top
\end{pmatrix}
\begin{pmatrix}
\tau \Sigma& 0\\ 0 & \Omega
\end{pmatrix}^{-1}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix}\\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
I\\
P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1}&P^\top \Omega^{-1}
\end{pmatrix}
\begin{pmatrix}
\Pi\\
Q
\end{pmatrix}
\end{bmatrix} \notag \\
& = \begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} + P^\top \Omega^{-1} P
\end{pmatrix}
\end{bmatrix}^{-1}
\begin{bmatrix}
\begin{pmatrix}
(\tau \Sigma)^{-1} \Pi + P^\top \Omega^{-1} Q
\end{pmatrix}
\end{bmatrix}
\end{align}
\end{document}
[/code]
Wie ihr sieht, liegt die zweite Zeile ausserhalb des definierten Bereiches.
Wie kann ich am besten die zweite Zeile geschickt darstellen? Ich dachte an etwa = [...]
x [...]
=....
Kann jemand mir helfen?
Beste Gruesse,
Noah