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

learn more… | top users | synonyms (1)

2
votes
1answer
35 views

Seemingly simple block matrix

I have a seemingly simple block matrix that I want to set with as few dependencies as possible. I already have amsmath and friends loaded. The only thing I'm intent on avoiding is blkarray. Here is ...
3
votes
3answers
72 views

Every element of a matrix with \displaystyle

Is there a way to achieve every element of a matrix to be with \displaystyle? I tried many approach but no style change happened within a matrix environment. For example, \documentclass{article} ...
17
votes
5answers
9k views

bordermatrix with blocks

I need to write a complicated matrix, that has a structure as in the attached picture.
2
votes
1answer
50 views

Formatting matrices with vector elements along column headings?

Often I've seen the matrix equation Ax = b presented as matrix A augmented with vector b, with the individual elements x_1 ... x_n written sequentially as headers across the columns; is it possible to ...
3
votes
1answer
68 views

How to make an equation that contains several matrices?

Being new to LaTeX, I find the matrix construction a bit annoying, even for simple matrices. How can I construct the following matrix?
3
votes
1answer
44 views

Typing an 11 x 11 (or larger) Matrix [duplicate]

I would like to explicitly write out a n x n matrices in my paper, but once n \geq 11, I get compiling errors and it refuses to print the matrix. Here is what I have: \documentclass{standalone} ...
2
votes
0answers
26 views

Troublesome extra space in matrix with ConTeXt

I need to display a column vector in a table and, by doing it, an extra space occurs like an empty extra number. How can I fix this please ? \starttable[|r|l|] \NC $u=\startmatrix 1 \NR ...
4
votes
1answer
94 views

missing } inserted, Displaying aligned matrix equations, yet braces balanced

I am trying to display in math mode two system equations aligned \documentclass[9pt,a4paper,twocolumn]{article} \usepackage[margin=1.5cm]{geometry} \usepackage[english]{babel} ...
2
votes
1answer
24 views

Trouble in alignment of matrix in subquestions

Please let me know how to fix the problem of alignment of matrix equation in the sub question. In question 4 (b) the matrix gets its position in the center whereas I want it just from the beginning. ...
1
vote
1answer
93 views

Wrong (too much) vertical space above \vdots in small matrix

If one uses \vdots in a smallmatrix-environment the vertical spacing above the dots is too large. It is the same spacing as in a normally sized matrix-environment. Minimal working example: ...
7
votes
2answers
113 views

Aligning equations in matrix with outside character

I would like to align these equations on the equals sign (so that the curly braces are flush) and also align the 'ranges' on the RHS side on the 't'. Can anyone help? \begin{equation} ...
2
votes
1answer
71 views

matrix image in Beamer

I am preparing a Beamer presentation, and would like to have kind of a function (I will do this several times with different inputs) that given a matrix with elements between 0 and 1 (like an output ...
3
votes
1answer
867 views

Shrinking large matrices by preventing column alignment

I have a relatively large but sparse matrix (say 20x20). Maple has no problem displaying it on a screen because maple does not force the columns to be aligned when the matrix is large enough : element ...
6
votes
4answers
215 views

Alignment in matrix (bmatrix)

Here is a MWE: \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \begin{document} The reparameterisation is \begin{equation} \label{eqn:linear_ssK3} \begin{matrix} s & = ...
2
votes
0answers
139 views

Controlling delimiters in matrices typeset with TiKZ

This question is directly related to Loop Space user's answer to question Broken matrix - gaps in brackets, in which an alternative TiKZ method to amsmath matrix typesetting is provided. The ...
1
vote
1answer
32 views

Missing $ error with matrix

The code below produces the mistake in the picture. Any idea why? % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
0answers
13 views

How to cross a column in a matrix! [duplicate]

I need some help. I need to draw horizontal lines all across row 1 and 3, and vertical lines all across columns 2 and 4. I'm aware I can use \makebox[0pt][l]{\rule[0.1cm]{0.19\textwidth}{0.7pt}} to ...
0
votes
2answers
41 views

How to resize a matrix in beamer

Currently I am having problem in resizing the matrix. The following is the code: \begin{frame} \frametitle{XXX} $$\small\begin{pmatrix} I_{\frac{k}{2} \times \frac{k}{2}} & 0_{\frac{k}{2} ...
1
vote
1answer
247 views

what is the latex command for this notation

could anyone tell me what will be the latex command for this? I am very much confused, I am not even comfortable in matrix writing while typing latex I always copy paste the matrix command to write a ...
10
votes
3answers
20k views

How to have matrices side by side in latex?

I'm new to latex and all of my matrices seem to be created on new lines, I can't seem to put them side by side. Here is what I am doing to make a matrix (with the 2d identity matrix as an example): ...
2
votes
2answers
42 views

How do I use \bmatrix in a subfigure?

I am trying to put two matrices next to each other with the same caption, but I am having trouble using \bmatrix in the subfigure environment. Here is the code of what I am trying to do: ...
2
votes
0answers
117 views

Column Space and Null Space of a Matrix [closed]

What are the notational best-practices for typesetting the column space and null space of a matrix A? Let's see how some of the different options look: Column Space: $col(\mathbf(A))$ ...
5
votes
2answers
380 views

Matrix doesn't shrink when put in fraction.

This is my minimal example, the problem is the different size of the two x. I would expect the matrix to be shrunken too, but it isn't. Why is this and how is it corrected? ...
2
votes
1answer
116 views

Multiple line matrix equations

I am trying to fit a rather large matrix equation into a document, but it is so large that I cannot fit it onto a single line. Moving the end of the equation onto a new line appears to be the only way ...
2
votes
1answer
131 views

questions about matrix

I want to create a simple matrix and the code is given below, but I got error when I compile it. Could anyone help with this? $$e^{-{\cal L}= \left[ \begin{array}{cccccc} 1 & 0 & . & . ...
2
votes
1answer
61 views

How can I organise this matrix in beamer?

I have three vectors that should be in same line in this frame. I can not do it. Could you help me. The MWE is \documentclass{beamer} \begin{document} ...
3
votes
3answers
256 views

The matrix is cut off

I wrote a long matrix in LaTeX \begin{equation} \rho H = \left(\begin{array}{ccc} \rho_{11} \hbar \omega_{1} +\rho_{13} \hbar \Omega_{p} cos(t\omega_{p}) & \rho_{12} \hbar \omega_{2}+ \rho_{13} ...
3
votes
1answer
45 views
4
votes
1answer
71 views

Very strange result while writing a trace of matrix

My Jacobian matrix evaluated at the equilibrium is denoted by J_E. I typed for its trace as tr\textit{J_E}. And the result is very strange. tr appears good but \textit{J_E} part is unlimitedly ...
5
votes
1answer
3k views

Matrix in Latex

I am new to Latex, and I have been trying to get the matrix of following form [x11 x12 x13 . . . . x1n x21 x22 x23 . . . . x2n . . . . xd1 xd2 xd3 . . . . xdn] ...
0
votes
0answers
14 views

bmatrix with individual column alignment specifier [duplicate]

I know that I already found this, but I am not sure where, so I ask it here. How can I individually specify the number and alignment of a bracket matrix using bmatrix? \documentclass{article} ...
6
votes
2answers
85 views

Insert matrix into \subsection{}?

I was trying to insert matrix into a \subsection{}: \subsection{Suppose $X= \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array}$} This gives me an error: ! TeX capacity exceeded, sorry [input ...
2
votes
1answer
98 views

Column Vector Sweave \Sexpr

I'm having big problems trying to compile a file using Sweave displaying a vector defined in an R chunk, as a column vector in Latex using pmatrix, I have something like this: ...
2
votes
1answer
49 views

rotate box in reverse inside a rotate box ? possible?

I need to make brackets of various kinds stretch with the length of the argument below and above. They require rotation of text inside a rotated matrix. For example, I am trying to make a round ...
2
votes
1answer
47 views

alignment of different elements inside and outside matrix in tikz

I am facing issues in getting the different elements of the following tikzpicture at correct positions. I think the problem arises because the width of elements within the matrix differs. ...
9
votes
3answers
2k views

use of tikzpicture matrix in align or gather environment

So far I have found using the matrix command in the TikZ package is the only way of drawing a T-shape around the bottom row and middle column of entries in a matrix. I now need to use this matrix in ...
6
votes
5answers
390 views

Easier or better way to draw 1d array

I'm trying to reproduce the following figure, and was wondering if there was a simpler way. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \def\leftbracket{[} \def\rightbracket{]} ...
1
vote
1answer
45 views

Why pmatrix in a description list break the document flow?

The code to provide the MWE \documentclass{article} \usepackage{amsmath} \usepackage[brazil]{babel} %\usepackage[latin1]{inputenc} \usepackage[utf8]{inputenc} % UTF-8 encoding is recommended ...
1
vote
2answers
74 views

Alignment across multiple equations

Right now, my document looks like this: Or, like this: It bothers me a lot that the equations are scattered all over the place and are not evenly aligned. I want, for example, each line be ...
2
votes
1answer
73 views

Insert a Matrix in a Latex Table

How can I include a matrix as a value in a Latex table? For example, in the code provided below, I need C to be written in matrix format with the brackets. @code \begin{table}[h] \begin{tabular}{c c ...
0
votes
0answers
43 views

I want to write a matrix like the one in the picture [duplicate]

I need to write a matrix like this. I don't know how to add those letters outer of matrix. I tried ``` \begin{equation*} \begin{split} %% letters %% matrix body \end{split} \end{equation*} to ...
2
votes
1answer
46 views

Matrices off the page

My matrix goes off the page. Usually, when I work with simple equations, I use the code \begin{eqnarray}\end{eqnarray*} to align equations vertically by the equal sign. Do you know if I can do ...
8
votes
3answers
40k views

How to write an m*n matrix in LaTeX?

I tried using the below code but it works only for 2*2 matrix. \[ M= \left[ {\begin{array}{cc} 1 & 2 \\ 3 & 4 \\ \end{array} } \right] \] Now the following doesn't work for ...
1
vote
2answers
73 views

How to create a matrix by itself and have a letter equal to it?

I am trying to exactly duplicate this picture here in LaTex. ... so far all i have is \[ \left( \begin{array}{ccc} a & 0 & 0 \\ 0 & b & 0 \\ 0 & 0 & c \end{array} ...
1
vote
1answer
114 views

Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
4
votes
1answer
152 views

Split nodes in TikZ math nodes matrix with Beamer?

TikZ matrices and Beamer do not work smooth -- for example, we have to use ampersand replacement work around. Is there a similar work around that allow one to use \nodepart ? The MWE is this: ...
2
votes
1answer
53 views

Lyx doesn't display matrix correctly

I have tried to insert following LaTeX code for matrix in Lyx: $u_{L}(k) = \sqrt{E}\begin{pmatrix} 0 \\ 1 \\ 0 \\ -1 \end{pmatrix}$. In all LaTeX-based sites this code is displayed correctly, but ...
3
votes
2answers
201 views

Vertical space between matrices

I am writing some lecture notes in Econometrics and I want your advice on how to insert some vertical space between two matrices so the result will be easier to follow. Here is the minimal example: ...
8
votes
2answers
208 views

How to make the matrix in this image

How to make the matrix in this image? I need to achieve it with LaTeX.
5
votes
2answers
115 views

Matrix is too small, how to make it bigger?

I am trying to make the following matrix bigger since the elements do not fit quite well inside of it. I don't know why.. \documentclass[11pt,a4paper,oneside]{report} % KOMA-Script book ...