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

learn more… | top users | synonyms (1)

2
votes
1answer
47 views

How to make a matrix that wolfram and symbolab can read (ideally through lyx) dsafds

I would like to be able to visually write math equations in lyx and then copy them to wolfram and symbolab to compute the answer. For example I can copy \left(-1-\lambda\right)\cdot\left(1-\lambda\...
1
vote
1answer
72 views

How can I typeset non-square matrices?

I'd like to typeset a non-square matrix in the manner of $\begin{array}$, but I don't know how. How can I typeset a 4 x 3 matrix, for example?
1
vote
2answers
48 views

Stack of matrices with unequal sizes

I have to write a list of two matrix equations. They are almost identical, but the elements in one matrix are slightly larger than the other one, which makes it look badly. \begin{align} \begin{...
1
vote
1answer
41 views

Make column widths of multiple matrix columns equal

I have some gauss matrices in an align* environment, like this: \documentclass{article} \usepackage{amsmath} \usepackage{gauss} \newcommand{\BAR}{% \hspace{-\arraycolsep}% \strut\vrule % the ...
3
votes
2answers
322 views

Simple visualization of 3D matrix

I need to visualize 3D matrix in a way similar to this one: There are no arrows needed, I only want to have all 2D arrays fully visible, one "behind" each other and their corners connected by lines. ...
4
votes
2answers
65 views

Delete an element in a matrix

I created a matrix, but how do I delete the numbers in the matrix? \documentclass{article} \usepackage[table]{xcolor} \usepackage{collcell} \usepackage{hhline} \usepackage{pgf} \newcommand\gray{gray}...
1
vote
0answers
50 views

How to label rows and columns matrix?

I'm using LaTeX to do some basic matrix creation in a GeoGebra document as shown below: \begin{bmatrix} 0 & 0 & 1 & 1 & 0 \\ 1 & 0 & 0 & 1 & 0 \\ 0 & ...
2
votes
0answers
64 views

Draw a matrix with Latex

I did a matrix with Latex, but I do not know how how to do the colored square. Any idea please? Thank you \documentclass{article} \usepackage[table]{xcolor} \usepackage{collcell} \usepackage{hhline}...
3
votes
2answers
75 views

vertical align matrix in table

I am trying to vertical align a matrix to the content of the other cells in a table, and im pretty much stuck. Here is a quick mockup of whats my problem. In fig2 at least the content is aligned ...
8
votes
1answer
98 views

Add matrix name inside tikzpicture

I have this matrix and I would like to name it. I have to enter H = in the begining of the matrix but I cant. I tried with \begin{bmatrix} but I can't circle with TikZ. \begin{equation*} \begin{...
2
votes
1answer
39 views

color (solid) individual nodes in tikzpicture matrix

in the following MWE, I create a 'Coates diagram' I use for one of my classes. What I haven't been able to figure out is...how to colour the individual nodes? I want them to be solid, say, RGB-based ...
3
votes
2answers
68 views

Adding vertical line (equal sign) to augmented bmatrix WITHOUT using array

Is there a way to add a vertical line (equal sign) to an augmented bmatrix (4x4) WITHOUT using array? Any help provided would be greatly appreciated.
1
vote
0answers
42 views

Row Operations Error (Repost) [duplicate]

I couldn't comment on my last post, that's why it's a duplicate. I'm trying to put "arrows operations" in my matrices but I keep getting a Latex error. Could you guys help me out? I used the linalgjh ...
0
votes
1answer
50 views

Writing matrix inside an equation

I wanna type this equation. Normal equation/matrix code not working.
2
votes
1answer
29 views

How to center elements of different sizes

I would like to display some matrix things \begin{frame} \begin{align*} \left( \begin{array}{c} y_1 \\ y_2 \\ \vdots \\ y_T \\ \end{array} \...
0
votes
0answers
38 views

Row Operations Error

I'm trying to put "arrows operations" in my matrices but I keep getting a Latex error. Could you guys help me out? Thanks! \documentclass[11pt]{article} %size, document type \usepackage{fullpage} \...
1
vote
0answers
41 views

How to write the following matrix requiring both case and block array environment?

I am trying to write the attached equation using block array environment. I am suppose to use both the case and block array environment for achieving the desire output. However, I have completed ...
2
votes
1answer
73 views

Labeling rows/columns of a matrix with text and braces

I would like to label rows and columns of my matrix with formulas and text. I've started with a version using bordermatrix. \[ \underbrace{ \bordermatrix{ & \underset{\downarrow}{x} & \...
3
votes
1answer
40 views

How to add tabular lines, matrix lines to arrays in LyX?

The buttons such as Set all lines, Set right line, Set left line and Set bottom line are not activated with arrays as the example on the left while they are activated on the example on the right with ...
0
votes
0answers
12 views

Permutation matrix does not compile [duplicate]

I am getting the error "extra alignment tab has been changed to \cr." This is the code that is not compiling. It compiles up until I put in 2 digit numbers into the pmatrix environment: \...
1
vote
0answers
24 views

Divide a matrix into two regions in latex by line and color [duplicate]

I have a matrix whose elements belong to two different classes, and I need to distinguish them by color. Something like this figure: Any tutorial or instruction?
0
votes
1answer
64 views

Color two columns separately in a matrix

From the solution code found here, I wanted to be able to also have a colored box around the x4 column like this: I also looked at the solution posted here that gives different colors in rows/...
0
votes
1answer
87 views

How to create augmented matrix in iBook Author using LaTeX [duplicate]

I am very new to LaTeX so please bear with me if my question is rudimentary. I searched through other questions and while this question has been answered the solutions provided did not work for me, ...
0
votes
1answer
26 views

Get an underbrace under a matrix

Hi I have a matrix that i want an underbrace under. But I do not manage to do it. \underbrace{ \begin{bmatrix} &2(r_1^T - r_2^T) &2(t_2-t_1) \\ &2(r_1^T - r_3^T) &2(t_3-t_1) \\ ...
4
votes
1answer
35 views

Is there a way to set the default alignment for mathtools matrices?

I have a lot of mathtools matrices in my document that require right alignment (and others that have other alignment): \begin{bmatrix*}[r] 1 & 0 & 0 \\ 7 & 1 & 0 \\ \end{bmatrix*} ...
6
votes
1answer
110 views

How to highlight elements of a matrix in a formula? [duplicate]

I currently have problems with hihglighting elements inside a matrix. I've red a lot of questions here, my problem is that I have a matrix formula, {N}=[AB]{E} where I would like to highlight parts ...
2
votes
1answer
116 views

2D correlation plot matrix with shapes

Is there a straightforward way to create a correlation plot matrix similar to the figure below? The image is an example of R's corrplot package using circles, which also offers other shapes and ...
3
votes
1answer
67 views

Block matrix with headings

I created a matrix using easybmat and blkarrary and I would like to label the columns above the matrix. This is the code I am using and what the matrix looks like at the moment: \usepackage{easybmat}...
2
votes
1answer
50 views

Customize size for drawing box in matrix

\documentclass{beamer} \usetheme{Madrid} \usepackage{amsmath,tikz} \usetikzlibrary{matrix} \begin{document} \begin{frame}{Matrix} This is an example of a matrix. \begin{tikzpicture} \matrix [matrix ...
1
vote
0answers
99 views

“Missing \endcsname inserted” error in beamer

\documentclass[handout]{beamer} \usetheme{Madrid} \usepackage{amsmath,tikz} \usetikzlibrary{arrows,matrix,positioning} \begin{document} \begin{frame}{Matrix} This is an example of a matrix. \begin{...
1
vote
1answer
36 views

Tabular with matrix inside

Help anyone! I tried an I tried so I try my luck hopefully there someone out there with sharper tabular and matrix skills.
0
votes
0answers
21 views

Drawing box in matrix in beamer [duplicate]

\documentclass[handout]{beamer} \usetheme{Madrid} \begin{document} \begin{frame}{Matrix} This is an example of a matrix, and the box shows a submatrix. \[ \left( \begin{array}{ccc} a & b & ...
1
vote
3answers
56 views

Draw rays between matrix elements

I would like to draw the following mathematical expression. I tried a lot with the tabular environment, but I could not manage to get the wanted output. Can somebody help me with this? Another ...
2
votes
2answers
124 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
100 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} $$ \begin{...
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
53 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
96 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
115 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
112 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
38 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
110 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} \usepackage{amsmath,...
1
vote
0answers
32 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
43 views

Underbracing matrix

How to make that look OK? Please help!
6
votes
1answer
259 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
91 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
51 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
33 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
225 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
43 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: \...