BITTE helfen Sie uns HEUTE mit einer SPENDE
Helfen Sie das LibreOffice Forum zu erhalten!

❤️ DANKE >><< DANKE ❤️

> KEINE WERBUNG FÜR REGISTRIERTE BENUTZER!<
Ihre Spende wird für die Deckung der laufenden Kosten sowie den Erhalt und Ausbau 🌱 des LibreOffice Forums verwendet.
🤗 Als Dankeschön werden Sie im Forum als LO-SUPPORTER gekennzeichnet. 🤗

Matrix*Vektor=Vektor

Math ist die Komponente von LibreOffice für die Erstellung von mathematischen Gleichungen.
Antworten
polaiwio
Beiträge: 1
Registriert: Mo 27. Feb 2012, 13:05

Matrix*Vektor=Vektor

Beitrag von polaiwio » Mo 27. Feb 2012, 13:16

Hallo liebes Forum,

ich schreibe zurzeit meine Diplomarbeit und habe ein sehr unschönes Problem. Folgender Code

Code: Alles auswählen

left (
matrix{2(h_0+h_1) # h_1 # 0 # 0 # dotsaxis # 0 ##
		h_1 # 2 (h_1+h_2) # h_2 # 0 # dotsaxis # 0 ##
		0 # h_2 # 2(h_2+h_3) # h_3 # dotsaxis # 0 ##
		dotsvert # dotsvert # dotsvert # dotsvert # dotsdown # dotsvert ##
		0 # dotsaxis # dotsaxis # dotsaxis # h_{n-1} # 2(h_{n-1}+ h_n)}
right ) cdot left (
stack{y_1^{''} # y_2^{''} # y_3^{''} # dotsvert # y_n^{''}}
right ) = left (
stack {6({y_2-y_1}over{h_1}-{y_1-y_0}over{h_0}) # 6({y_3-y_2}over{h_2}-{y_2-y_1}over{h_1}) # 6({y_4-y_3}over{h_3}-{y_3-y_2}over{h_2}) # dotsvert # 6({y_{n+1}-y_n}over{h_n}-{y_n-y_{n-1}}over{h_{n-1}})}
right )
erzeugt ein Gleichungssystem. Leider sind die Zeilen im Ergebnisvektor höher als die im linken Teil, da hier Brüche vorkommen.

Kennt jemand eine Lösung, mit der ich die Zeilen richtig zueinander ausrichten kann? Ich bin für jede Hilfe dankbar.

gogo
Beiträge: 1072
Registriert: Sa 5. Feb 2011, 19:07

Re: Matrix*Vektor=Vektor

Beitrag von gogo » Mo 27. Feb 2012, 17:04

Nicht wirklich schön?

Code: Alles auswählen

    left (
    matrix{2(h_0+h_1) # h_1 # 0 # 0 # dotsaxis # 0 ##
          {} # {} # {}  # {} # {} # {} ##
          h_1 # 2 (h_1+h_2) # h_2 # 0 # dotsaxis # 0 ##
          {} # {} # {}  # {} # {} # {} ##
          0 # h_2 # 2(h_2+h_3) # h_3 # dotsaxis # 0 ##
          {} # {} # {}  # {} # {} # {} ##
          dotsvert # dotsvert # dotsvert # dotsvert # dotsdown # dotsvert ##
          {} # {} # {}  # {} # {} # {} ##
          0 # dotsaxis # dotsaxis # dotsaxis # h_{n-1} # 2(h_{n-1}+ h_n)}
    right )   cdot  left (
    stack{y_1^{''} # {} # y_2^{''} # {} # y_3^{''}  # {} # dotsvert  # {} # y_n^{''}}
    right ) = left (
    stack {6({y_2-y_1}over{h_1}-{y_1-y_0}over{h_0}) # 6({y_3-y_2}over{h_2}-{y_2-y_1}over{h_1}) # 6({y_4-y_3}over{h_3}-{y_3-y_2}over{h_2}) # dotsvert # 6({y_{n+1}-y_n}over{h_n}-{y_n-y_{n-1}}over{h_{n-1}})}
    right )
oder reicht's?
g
2008 LucidL./MaverickM./WinXP LibreOffice 3.3.2 > 02/13 LinuxMint13/Xubuntu > 09/13 Debian Wheezy+LO3.5.4.2 > 01/15 Debian Jessie KDE+LO4.3.3.2/Mint17 openbox auf USB+LO4.2.8.2 > 03/16 ArchLin & LO5.1+ff > 02/18 Kubuntu

An alle, die das LibreOffice-Forum nutzen:


Bitte beteiligen Sie sich mit 7 Euro pro Monat und helfen uns bei unserem Budget für das Jahr 2024.
Einfach per Kreditkarte oder PayPal.
Als Dankeschön werden Sie im Forum als LO-SUPPORTER gekennzeichnet.

❤️ Vielen lieben Dank für Ihre Unterstützung ❤️

Antworten