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

learn more… | top users | synonyms (1)

2
votes
2answers
98 views

how to draw a stair matrix using tikZ in Beamer?

I am very new to Beamer and LaTeX. I want to draw a stairs matrix as attached. It should be pretty simple but I just don't know how to draw it. Please only use tikZ (and matrix) and don't use other ...
2
votes
1answer
79 views

Drawing lines along entries of matrices

I would like to demonstrate the special formula for the determinants of 3 by 3 matrices, http://www.purplemath.com/modules/determs2.htm. That is \documentclass{article} \begin{document} $$ ...
3
votes
1answer
42 views

Equations in different part of the text not aligned

I have a problem, in my document I have two sets of similar equations but they do not align. This is the text: If $\tilde{\mathbf{p}}$ is first combined with the system of Eq.\ref{inplane:eq7} and ...
1
vote
1answer
45 views

Parentheses around a matrix

So this is the code that I have so far: \[ Y = \begin{bmatrix} Y_{1} \\ Y_{2} \\ \vdots \\ Y_{n} \end{bmatrix} = \begin{bmatrix} 42 \\ 33 \\ 75 \\ 28 \\ ...
4
votes
2answers
85 views

Fix brackets in blkarray

in the code given below, I wanted the brackets from the \blkarray matrix to match those of the original matrix given in Equ (1). The issue is, when I use the \blkarray, the brackets are too short ...
4
votes
1answer
103 views

Error when using tikz \node, \subnode

In the code below, building off solutions found here, I am trying to use the \node and \subnode options to draw the arrow, but I cannot get the file to compile. Can you help me to fix the code to get ...
1
vote
1answer
98 views

Highlight matrix cell and have arrows pointing from cell with text [duplicate]

This code is building from the solutions posted here. I am trying the approach suggested from the duplicate solutions. I am having two issues: I am not sure how to get the arrow to point to the ...
3
votes
1answer
37 views

Custom align, three \beta = statements, so the beta is custom aligned vertically, and the matrices/vectors are all vertically aligned

Something like: \beta = [], \quad \beta = [], \quad \beta = []. So that the three forms of beta fit on one line. I want the \beta = to valign with the first element of the vector/matrix. I want ...
4
votes
1answer
86 views

colored box around a column in matrix [duplicate]

How can I go about drawing a colored box around a column in a matrix with an arrow and text like this: Here is the code that I have thus far: \documentclass[11pt]{book} ...
1
vote
0answers
30 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
34 views

Underbracing matrix

How to make that look OK? Please help!
6
votes
1answer
256 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
71 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
40 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
30 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 ...
0
votes
4answers
217 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
38 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
41 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
225 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
183 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
36 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
28 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
28 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
206 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
25 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
50 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
34 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
35 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
118 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
58 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
66 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
70 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
200 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
122 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
133 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
55 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
29 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 ...
40
votes
8answers
2k 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
92 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
166 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
112 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
245 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
22 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
197 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
60 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
25 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
24 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} ...
3
votes
1answer
41 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
269 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
106 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!