{matrices} is about matrices in {equations} and {diagrams}.

learn more… | top users | synonyms (1)

1
vote
0answers
21 views

smaller smallmatrix

I've got a Vector, and the last entries in this vector is long. Like... longer then the \linewidth. I tried using the \smallmatrix and it just fit on the page, so I was content. But it still breaks ...
2
votes
1answer
27 views

Underbracing matrix

How to make that look OK? Please help!
6
votes
1answer
248 views

why symbolic matrix is not properly displayed in LaTeX?

I'm not able to get the output of this matrix in clear way, is poorly displayed, what to do? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} G(s)=\begin{bmatrix} ...
5
votes
2answers
37 views

How to have multiple signs for matrix inequality?

I want to know how to draw the three (in)equality signs vertically like shown in the figure.
2
votes
1answer
29 views

Make a tall rectangular array square

I have a tall array that I would like to make square. Unlike the solution here, which works but makes the array wider to match up with the width, I would like to decrease the spaces between rows to ...
0
votes
1answer
24 views

Application for typing matrices on OSX (or online)

Is there an application (on OSX) where you could create a matrix with the help of a graphical interface and that would produce automatically the corresponding LaTeX code? PS: I would be also ...
1
vote
4answers
206 views

What's the easiest way to draw block matrices?

I would like to draw block matrices with special structures like shown in the picture below. What's the easiest way to do that?
2
votes
1answer
27 views

Equal spacing in two matrices with matrix entries of differing length

I try to achieve the following: I have two matrices with similar structure, but whose entries differ in length. I want the two matrices to have identical and even spacing. This is what I got so far: ...
1
vote
0answers
27 views

How to draw straight line cross element showing determinant calculation [closed]

I am working on MathJax. $ \begin{array}{|ccc|cc} 1 & 2 &4 & 1 &2\\ 3& 1 & 2 & 3 & 1\\ 2 & 4 & 0 & 2 & 4\\ \end{array} = (0 + 8 + 48) - ( 8 + 8 + 0) = ...
6
votes
1answer
210 views

Why “p” in pmatrix?

I am using the command \begin{pmatrix} [...] \end{pmatrix}. I wonder why this command is not just called \begin{matrix} [...] \end{matrix} and why a "p" before "matrix".
7
votes
3answers
119 views

Matrices with same height

I want to write a matrix equation and my current code is following: \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \begin{document} \begin{equation} \begin{pmatrix} 1 ...
1
vote
1answer
33 views

Add a note on the left, next to a line of a matrix

I would like to add on the right to the 1 a small note <- i-th line. How to do it ? My solution so far: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \epsilon_i = \left ( ...
2
votes
1answer
24 views

Separators in array (for a matrix) have different, wrong sizes

Why is it so and how to fix it? \documentclass{article} \begin{document} \[ A = \left ( \begin{array}{c|c|c} \\ C_1 & \cdots & C_q \\ \\ \end{array} \right ) \] \end{document}
3
votes
3answers
27 views

control spacing and sizing of submatrices

How can I reproduce this matrix? my attempt so far : \begin{bmatrix} \begin{bmatrix} C_N \end{bmatrix} & \begin{bmatrix} \\ \boldsymbol{k} \\ \end{bmatrix} \\ \begin{bmatrix}& ...
2
votes
2answers
191 views

Writing fraction in matrix

I am trying to write a fraction in a matrix. I am doing it using the following code: \[ \begin{bmatrix} \frac{1}{6} & \frac{5}{6} & 0 & 0 \\ 0 & 0 & 1 & 0 \\ ...
3
votes
1answer
22 views

tabularx and pmatrix alignment issue

Why are the following entries in the table not vertically aligned? I see that the first column is too low and the second column is too high. Here is my code: \documentclass{article} ...
1
vote
2answers
27 views

draw diagrams with \xymatrix

I'm using \xymatrix to draw a diagram and I need some of the arrows to be named with a matrix over it. To draw the matrices over arrows, I'm using the \arrow command but, unfortunately, it puts very ...
0
votes
2answers
31 views

Is this space handling of pmatrix environment official?

For example, if we enter the code \begin{pmatrix} a & b & c \\ d & e \\ f \end{pmatrix} it occurs following matrix: a b c d e f not error. My question is that this space handling ...
1
vote
0answers
34 views

Creating an Elimination Matrix with strikethrough rows/columns [duplicate]

I am writing a paper, and I need to display an elimination matrix during the steps of finding a determinant. \[ A =\begin {bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} ...
3
votes
1answer
92 views

How to align matrices on top of each other?

Suppose I have the following situation (don't mind the notations, it's ring theory): \documentclass{article} \usepackage{amsmath} \begin{document} \newcommand{\mymatrix}{\begin{bmatrix} 1 ...
-1
votes
1answer
56 views

Matrix - how do i make this?

How do make this with LaTeX? I want to be able to adjust the names.. and the subscript.
1
vote
1answer
53 views

Plot correlation matrix (pdf) in LaTeX

Ok, giving up... I need to plot a correlation matrix exactly shown in the attached picture. I have 15 images in a PDF form, but the issue is that to plot these images on diagonal in LaTeX. I need to ...
3
votes
2answers
61 views

Create blocked matrix

I have created a blocked matrix as shown below: However, I'm not happy about the following three things: 1) How can I change those two demarcation lines (one with vertical bars and the other with ...
7
votes
2answers
136 views

Highlight the upper or lower triangular portion of a matrix

I previously asked this question here, but now would like to achieve the same goal with a matrix under a different construction. More specifically, how can I highlight or shade the upper or lower ...
4
votes
2answers
96 views

Matrices above matrix in LaTeX [duplicate]

Ok..How to put matrices above matrix when you work with complex equations? I have matrices, such as: I was able to wrote equation in the LaTeX first two matrices on bottom, but the 1x1 matrix on ...
4
votes
2answers
106 views

How to shade or highlight the upper or lower triangular part in a matrix?

How can I shade or highlight the lower (or upper) triangular part of a matrix in some color like Q above?
4
votes
1answer
42 views

Aligning a matrix within a matrix

I've seen a lot on this website that has helped me get started, but I have one last problem: how do I align the 0s in the first row to the matrix below them? \documentclass{article} ...
0
votes
0answers
28 views

Having some trouble with a matrix

Looking over the internet, and still can't find the reason why i am getting errors. Someone able to point me in the right direction or give me an answer? \begin{bmatrix} 1 & 1 & -1 ...
39
votes
8answers
1k views

Is there a way to automatically transpose a matrix written in Latex?

As writing matrices in LaTeX is an extremely time-consuming activity, I was wondering if a software or a site exists that automatically gave the transposed form of a matrix, that is to say, given a ...
3
votes
1answer
63 views

Why does whitespace above \vdots disappear in bmatrix?

While creating presentations with beamer, I have the problem described in broken matrix gaps in brackets. Using the solution proposed by Loop Space, I discovered that \vdots have an annoying ...
7
votes
2answers
157 views

Equation system with alignment

I want to set up a linear equation system where the individual terms in each equation are aligned with the corresponding terms in the above. Currently, my attempt looks something like this: \[ ...
4
votes
1answer
98 views

Two Sudoku tables side by side

I'm working with a Shidoku table, which is a 4x4 Sudoku table. I'm trying to place two Shidoku tables side by side, with an arrow in the middle, as to show that I'm transforming one into the other. ...
3
votes
2answers
186 views

latex equation is logging a "missing $ inserted. <inserted text> $

I have a big document and all was working good. I made a change into the parameters of the equation and now this is not compiling. I use XeLaTeX to compile normally. \begin{equation} ...
0
votes
0answers
21 views

Dotfill in a matrix [duplicate]

I would like to ask if you know how to make a row entirely filled by dots in a matrix? I tried to use the \dotfill but it isn't proper because it hasn't changed anything, everything is the same after ...
1
vote
1answer
91 views

Rotate matrix in LaTeX

I have a matrix size 25 and I need to rotate it in LaTeX so that it fits the page. How do I do?? PS.: I tried the landscape command, but it did not work because rotated the page but not its contents, ...
3
votes
1answer
41 views

How can I apply a style to elements of a submatrix of a tikz matrix?

I'm trying to apply a style for a submatrix of a matrix and ended up by passing arguments through two .list-handlers. Things don't work as I expected, again I'm just able to set either rows or columns ...
2
votes
1answer
24 views

How to put a big matrix in one column format in IEEEtran.cls? [duplicate]

The following is the code for the matrix I want to put in one column in a two column format in IEEEtran.cls. Any alternative solutions are welcome. \begin{equation} \begin{bmatrix} V_A \\ ...
0
votes
1answer
20 views

Vectors in align environment with additional split

I want to do the following: Some vectors (using pmatrix) aligned in an align environment but with a single equation number (using split): \documentclass[11pt]{article} \usepackage{amsmath} ...
4
votes
1answer
40 views

Formatting Large Equations with Matrices

I am currently working with some pretty big matrices and was wondering how I could better format them to make my final proof appear less sloppy. What formatting techniques can I use to better present ...
10
votes
3answers
242 views

Aligning matrices

Sorry if this might be a very banal question. I am fairly new to LaTeX and I am having issues with matrices alignment. I am trying to achieve pretty much what is shown in this picture, I have tried ...
2
votes
1answer
99 views

Draw augmented matrix in tikz

I'm trying to create a very simple matrix in Tikz: can anybody help me with this? The matrix should look like this: Thank you in advance for all your help!
0
votes
3answers
45 views

How to have a variable in more than two row-column in matrices?

I have a matrix say 3 by 3, in it I have a variable say G, which is 2 by 2. But I don't know how to have such a matrix variable inside another one without splitting G?
6
votes
3answers
91 views

Striking out matrix lines and columns: is Tikz the only way?

I would like to show a matrix with "strike-out lines" on some of its rows and columns. After some research I found a solution using Tikz matrices, which I reproduce here: \documentclass{article} ...
5
votes
2answers
103 views

split a multiline bmatrix

I was attempting to split up a 2 row bmatrix in two lines but was not successful. Can you help me split up the matrix. This is the effect that I wanted to get: Here is my code: ...
2
votes
2answers
38 views

Having two or more matrices centered on one line

I have the following code: $$A = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} $$ and $$B = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} $$. But this is displayed on two lines. How ...
1
vote
1answer
59 views

Matrix as node label

consider the following image (taken from here): I want to adapt this image as TikZ picture. I would represent each rectangular node of the tree as a TikZ node. Each node has two character-wise ...
1
vote
1answer
37 views

Help with align environment and split

I would like some direction as to how to get my equations to align like this: Here is my code: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} {\mathbf{u}} & = ...
1
vote
1answer
62 views

Latex Table for Dynamically generated table and traceback arrows

I am trying to fill in a table generated by a dynamic programming algorithm which requires to keep trace of the execution by inserting right or diagonally downwards arrow. An example image is below: ...
3
votes
2answers
55 views

pmatrix with \left( \frac \right)

The following MWE results in the Matrix shown in the picture. I would like the braces of the cos- and sin-functions in the first column not to touch each other. How can I achieve that? ...
4
votes
3answers
75 views

Adjusting separation between matrix entries

I have a very large matrix which overflows in the margin. I would like the matrix to fit inside the margins, but I would like to do this without rescaling it, and also without affecting other ...