www.vorkurse.de
Ein Projekt von vorhilfe.de
Die Online-Kurse der Vorhilfe

E-Learning leicht gemacht.
Hallo Gast!einloggen | registrieren ]
Startseite · Mitglieder · Teams · Forum · Wissen · Kurse · Impressum
Forenbaum
^ Forenbaum
Status Mathe-Vorkurse
  Status Organisatorisches
  Status Schule
    Status Wiederholung Algebra
    Status Einführung Analysis
    Status Einführung Analytisc
    Status VK 21: Mathematik 6.
    Status VK 37: Kurvendiskussionen
    Status VK Abivorbereitungen
  Status Universität
    Status Lerngruppe LinAlg
    Status VK 13 Analysis I FH
    Status Algebra 2006
    Status VK 22: Algebra 2007
    Status GruMiHH 06
    Status VK 58: Algebra 1
    Status VK 59: Lineare Algebra
    Status VK 60: Analysis
    Status Wahrscheinlichkeitst

Gezeigt werden alle Foren bis zur Tiefe 2

Navigation
 Startseite...
 Neuerdings beta neu
 Forum...
 vorwissen...
 vorkurse...
 Werkzeuge...
 Nachhilfevermittlung beta...
 Online-Spiele beta
 Suchen
 Verein...
 Impressum
Das Projekt
Server und Internetanbindung werden durch Spenden finanziert.
Organisiert wird das Projekt von unserem Koordinatorenteam.
Hunderte Mitglieder helfen ehrenamtlich in unseren moderierten Foren.
Anbieter der Seite ist der gemeinnützige Verein "Vorhilfe.de e.V.".
Partnerseiten
Weitere Fächer:

Open Source FunktionenplotterFunkyPlot: Kostenloser und quelloffener Funktionenplotter für Linux und andere Betriebssysteme
Forum "LaTeX" - Matrix mit vielen Einträgen
Matrix mit vielen Einträgen < LaTeX < Mathe-Software < Mathe < Vorhilfe
Ansicht: [ geschachtelt ] | ^ Forum "LaTeX"  | ^^ Alle Foren  | ^ Forenbaum  | Materialien

Matrix mit vielen Einträgen: Frage (beantwortet)
Status: (Frage) beantwortet Status 
Datum: 19:45 Di 05.05.2009
Autor: NightmareVirus

Hallo, ich arbeite gerade an einem Projekt wo ich unteranderem auf eine Karte zu greife die in Quadrante unterteilt ist. Quasi ein Schachbrett mit
22 * 13 Feldern.

Jetzt steht auf jedem dieser Felder entweder ein Hinderniss, oder eben nichts. Das wollte ich durch eine 22 x 13 Matrix darstellen, in der jeder Eintrag eine 0 (freie Fläche) oder eine 1 (Hinderniss) ist.

Mein Problem ist nun, dass ich bisher keine Möglichkeit gefunden habe eine solch große Matrix in Latex zu erstellen.

/begin{pmmatrix}  macht automatisch nach 10 Einträgen einen Zeilenumbruch.

/begin{tabular} funktioniert auch nicht.

Kennt jemand eine Lösung?

        
Bezug
Matrix mit vielen Einträgen: Antwort
Status: (Antwort) fertig Status 
Datum: 19:53 Di 05.05.2009
Autor: luis52

Moin,

1:
2: \[\left ( \begin{array} {rrrrrrrrrrrrr} 
3:  1 & 1 & 1 & 1 & 1 & 0 & 1 & 0 & 0 & 1 & 1 & 1 & 0 \\
4:  0 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 0 \\
5:  1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 1 \\
6:  0 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 \\
7:  0 & 1 & 0 & 1 & 1 & 0 & 1 & 1 & 1 & 0 & 1 & 0 & 1 \\
8:  1 & 0 & 1 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 1 & 1 & 1 \\
9:  0 & 1 & 0 & 0 & 1 & 1 & 1 & 0 & 1 & 0 & 0 & 0 & 1 \\
10:  1 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 1 & 1 & 0 & 0 \\
11:  0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\
12:  0 & 1 & 0 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 0 & 0 \\
13:  0 & 0 & 1 & 1 & 1 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 1 \\
14:  0 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 1 & 0 & 0 \\
15:  1 & 0 & 1 & 1 & 0 &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 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\0 & 1 & 0 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 0 & 0 \\ 0 & 0 & 1 & 1 & 1 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 1 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 1 & 0 & 0 \\ 1 & 0 & 1 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 1 \\ 1 & 0 &0 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 0 & 1 \\ 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 &0 & 0 & 0 & 0 & 0 & 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 0 \\ 0 & 1 & 0 & 1 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 \\ 0 &1 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 1 \\ \end{array}\right [/mm] )$

vg Luis


Bezug
                
Bezug
Matrix mit vielen Einträgen: Frage (beantwortet)
Status: (Frage) beantwortet Status 
Datum: 20:08 Di 05.05.2009
Autor: NightmareVirus

Vielleicht habe ich mich vertan, ich meitne aufjedenfall eine Matrix mit

22 Spalten und 13 Zeilen

Leider passiert bei deiner Variante mit dem Array auch wieder ein Zeilenumbruch!


Zu der Mitteilung:
Wie kann ich das ganze denn verkleinern?


Bezug
                        
Bezug
Matrix mit vielen Einträgen: Antwort
Status: (Antwort) fertig Status 
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 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 1 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 1 \\ 1 & 0 & 1 & 0 & 1 & 1 & 0 & 1 & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 0 & 1 & 0 & 0 & 0 & 0 \\ 1 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 1 & 1 & 1 & 1 & 1 & 0 \\ 0 & 0 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 \\ \end{array}\right ) $} [/mm]

vg Luis


Bezug
        
Bezug
Matrix mit vielen Einträgen: Frage (beantwortet)
Status: (Frage) beantwortet Status 
Datum: 19:55 Di 05.05.2009
Autor: BBFan

Auch, wenn du die Schriftgröße für die Matrix herabsetzt?

Bezug
                
Bezug
Matrix mit vielen Einträgen: Antwort
Status: (Antwort) fertig Status 
Datum: 20:07 Di 05.05.2009
Autor: luis52


> Auch, wenn du die Schriftgröße für die Matrix herabsetzt?

Wo ist das Problem?

{\tiny \[ ... \] }

vg Luis



Bezug
Ansicht: [ geschachtelt ] | ^ Forum "LaTeX"  | ^^ Alle Foren  | ^ Forenbaum  | Materialien


^ Seitenanfang ^
www.vorkurse.de
[ Startseite | Mitglieder | Teams | Forum | Wissen | Kurse | Impressum ]