von Trafalgar_Law » Di 23. Jul 2019, 14:00
Liebe Community,
ich habe eine 5x5 Matrix und einen 5x1 Vektor erstellt. Allerdings haben diese nicht die gleiche Höhe. Dies würde ich gerne beheben. Ich habe es mit Platzhaltern, also \vphantom{}, versucht, allerdings bekomme ich nicht das gewünschte Ergebnis.
\begin{equation}
\begin{bmatrix}
f_1 & g_1 & 0 & \cdots & 0\\
e_2 & f_2 & g_2 & \ddots & \vdots\\
0 & e_3 & \ddots & \ddots & 0\\
\vdots & \ddots & \ddots & \ddots & g_{J-2}\\
0 & \cdots & 0 & e_{J-1} & f_{J-1}
\end{bmatrix}
\begin{pmatrix}
\vphantom{f_1}\Psi_1^{n+1}\\
\vphantom{f_2}\Psi_2^{n+1}\\
\vphantom{0}\vdots\\
\vphantom{\vdots}\Psi_{J-2}^{n+1}\\
\vphantom{0}\Psi_{J-1}^{n+1}
\end{pmatrix} =
\begin{pmatrix}
r_1^n\\
r_2^n\\
\vdots\\
r_{J-2}^n\\
r_{J-1}^n
\end{pmatrix}.
\end{equation}
Ich habe erst mal versucht den Psi-Vektor an die Matrix anzupassen, der r-Vektor müsste ja analog gehen.
Ich bedanke mich schon mal im Voraus für eure Antworten und hoffe ihr könnt mir helfen.
Freundliche Grüße
Law
- Dateianhänge
-
- Matrix-Vektor.PNG (28.3 KiB) 2245 mal betrachtet
Liebe Community,
ich habe eine 5x5 Matrix und einen 5x1 Vektor erstellt. Allerdings haben diese nicht die gleiche Höhe. Dies würde ich gerne beheben. Ich habe es mit Platzhaltern, also \vphantom{}, versucht, allerdings bekomme ich nicht das gewünschte Ergebnis.
[code]\begin{equation}
\begin{bmatrix}
f_1 & g_1 & 0 & \cdots & 0\\
e_2 & f_2 & g_2 & \ddots & \vdots\\
0 & e_3 & \ddots & \ddots & 0\\
\vdots & \ddots & \ddots & \ddots & g_{J-2}\\
0 & \cdots & 0 & e_{J-1} & f_{J-1}
\end{bmatrix}
\begin{pmatrix}
\vphantom{f_1}\Psi_1^{n+1}\\
\vphantom{f_2}\Psi_2^{n+1}\\
\vphantom{0}\vdots\\
\vphantom{\vdots}\Psi_{J-2}^{n+1}\\
\vphantom{0}\Psi_{J-1}^{n+1}
\end{pmatrix} =
\begin{pmatrix}
r_1^n\\
r_2^n\\
\vdots\\
r_{J-2}^n\\
r_{J-1}^n
\end{pmatrix}.
\end{equation}[/code]
Ich habe erst mal versucht den Psi-Vektor an die Matrix anzupassen, der r-Vektor müsste ja analog gehen.
[url=https://ibb.co/1rc4JBs][img]https://i.ibb.co/n7pK843/Matrix-Vektor.png[/img][/url]
Ich bedanke mich schon mal im Voraus für eure Antworten und hoffe ihr könnt mir helfen.
Freundliche Grüße
Law