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

learn more… | top users | synonyms (1)

2
votes
0answers
47 views

How to reduce vertical space in matrix?

I want to reduce the size of the vertical space in matrix environment and have a result something like this But at present I manage something like below with the following code ...
2
votes
1answer
88 views

How to add dash lines in Matrix [duplicate]

I would like to know how to add dash lines in Matrix (see figuge) Cheers S.L. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{bmatrix} N & B_i \\ B_i^T ...
4
votes
1answer
66 views

Matrix row alignment on two sides of an equation, with rules

I have the following code to generate a matrix equation, on the LHS matrix, a couple of rules are added, that causes the RHS corresponding rows misaligned (vertically). How do I adjust subtle vspace ...
2
votes
2answers
142 views

Replicate the Singular Value Decomposition figure in LaTeX

I have tried to replicate a portion of this matrix decomposition system in LaTeX, but I am unable to draw the first and the last matrices with rectangular boxes. This is what I could do until now, ...
1
vote
0answers
55 views

An 'equals to' statement to the side of your matrix using LaTeX

so I am using Sage and I am trying to get the statement {B_{old}}^{-1} = beside my matrix \[ \begin{pmatrix} 0 & 0 & 0 & 0 & 0 & 0 & -1 \\ 1 & {3\over10} & 0 & ...
10
votes
5answers
389 views

drawing a matrix with its minors

I want to create something like this: This should be a matrix and I want to consider its minors which are drawn by __|. I want to draw also a line from one minor to a place outside of the matrix to ...
2
votes
0answers
33 views

Matrix with line and matrix operations [duplicate]

I want to produce this matrix: For the vertical line I can use \begin{array}{cc|c} and for the matrix operation I use environment gmatrix from the gauss package. But I can't use these options at ...
0
votes
0answers
29 views

How to format elementary row operations? [duplicate]

How do you write the elementary row operations in LaTeX? How do you show the use of the operations? Please include an example of interchanging rows, multiplying rows by a constant, and adding ...
5
votes
1answer
75 views

matrix alignment with preceeding unary minus

I've never quite been pleased with the options for aligning matrices in TeX when there is a preceding unary minus in some of the rows (but not all). I'd like to implement an environment that ...
3
votes
2answers
134 views

Vertical lines spanning only certain rows in matrix

As you can see in the picture, there is an annoying extra vertical line I want to remove: the one in row 2 at the matrix's start. The code for that is: \begin{array}{|c|c|c|c|} ...
5
votes
1answer
77 views

How to create a block matrix with centered elements

everybody. I was trying to compile a block matrix whose first line has a part that should be centered in that part of the line. My closest attempt is the code: \begin{align} ...
5
votes
2answers
215 views

Isometric Tables in LaTeX

Can someone please help me with a simple LaTeX code to draw something like the attached picture?
2
votes
2answers
153 views

What notation is used to show that a variable is a matrix? [closed]

When a variable is a vector, it is common to put an arrow above the variable, shown bellow \vec{x} When a variable is a matrix, sometimes a capital letter is used to distinguish it from the ...
5
votes
1answer
425 views

Block matrix equation with dimensioning

I need to write following matrix equation in LaTex. The dotted lines shown need to be present in the structure but need not have colors (could as well be black). I have used it here only to show the ...
4
votes
1answer
87 views

Centering in matrices

I am building a big matrix within the which I have block matrices, which I want to indicate by boxes. My current state looks like this: $$\begin{matrix} \framebox[3.\width]{J}& \begin{matrix} ...
3
votes
1answer
141 views

Eqnarray nested matrices produces alignment error

I wrote the following equation array. \begin{eqnarray} w_{0} & < & 1 \\ w^{m}_{i} & = & \left \{ \begin{matrix} w_{0} & i = 0 \\ ...
2
votes
2answers
73 views

Alignment when writing complicated linear systems of equations

I have the following code which can generate pdf as the figure shows. However, it lacks some alignments I want. I knew there is systeme package which may be useful, yet I found it didn't work for this ...
4
votes
2answers
179 views

tikzpicture, scope and matrix

I am trying to highlight a particular column in a matrix. I therefore draw the matrix (with easybmat) in a node and I draw the shape of the column in a scope (on the background). However, the scope is ...
3
votes
2answers
49 views

Left-align column and row matrices and right-align the dimensions

I have some vectors, one of which is written as column and others as rows. I would like to have them so, that the vectors are left-aligned and the corresponding dimensions right-aligned, as I tried to ...
10
votes
4answers
444 views

Matrix with its name on it, of huge size

How can I replace the original matrix [L] which is of normal size with a huge one, like this figure shows (the red result is what I want):
2
votes
1answer
85 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
48 views

Aligning numbers in array

What am I doing wrong here?: \documentclass[11pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{align} ...
4
votes
2answers
309 views

Toeplitz matrix in LaTeX

How do I create a Toeplitz matrix like the following in LaTeX?
4
votes
3answers
1k views

How to create this matrix in LaTeX?

I want to create the following picture in LaTeX. How can I do this?
3
votes
3answers
58 views

Formatting a large matrix across multiple lines

I have the following latex to create a matrix: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amsthm,amssymb} \usepackage{graphicx,ctable,booktabs} ...
13
votes
3answers
395 views

Force latex to show a square matrix as square

How can i force latex to print out square matrix as a square matrix with equal width and height in math-mode? I also read amsmath documentation, but don't found any useful help on it. For example ...
3
votes
1answer
77 views

bmatrix no new row [closed]

I use: \[ M= \begin{bmatrix} 1 & 2 & 3 & 4 & 5\\ 3 & 4 & 5 & 6 & 7\\ \end{bmatrix} \] and as a result i have only one row. 1 is combined with 3, 2 with ...
10
votes
3answers
821 views

How to create vertical and horizontal dotted lines in a matrix?

Similar to this question, I am trying to output a similar matrix with dotted line instead of dashed line. Is there anyway to do this? I also try to use these three packages: ...
1
vote
1answer
74 views

How to create elegant stripped regions in matrix along with numbering of the rows and columns

I want to create a matrix that will consist of regions with stripped lines (so as to denote that it is full banded) and other regions that will be all zero. I have seen some rows & columns ...
2
votes
1answer
66 views

Overbraces hovering too far above matrix for some reason?

I have a matrix with two overbraces above it but they are not directly above it, there is a fair amount of space between the braces and the matrix and I can't see why it is happening. ...
2
votes
0answers
36 views

Need to split right bracket at side of matrix into three smaller brackets [duplicate]

To the right of this matrix I have a big right curly bracket with the text "2m terms" that spans the height of the matrix. I need to replace this right bracket with three smaller ones that together ...
3
votes
1answer
50 views

Need to represent information about a matrix, attached image showing what is needed [duplicate]

The following matrix is of size $10 \times 10$, however it is representing an $m \times m$ matrix. Hence I need to signify that the first five columns represent terms $0$ to $\frac{m}{2} - 1$ and the ...
1
vote
0answers
20 views

Last element in each row of a matrix getting pushed to next line [duplicate]

The following matrix is not displaying all elements in each row on the same line, the last element in each row is getting pushed to the next line. If I delete the last element then the matrix displays ...
3
votes
3answers
229 views

Centering a matrix in a figure?

I have a matrix that I would like to be centered in the middle of the page, however it is showing up left-aligned. \begin{figure}[ht]$ \centering \begin{bmatrix} 0 & C_l ...
5
votes
2answers
64 views

Giving two matrices the same width

I've got two matrices, were one is an ordered pair (a point) and the second one is a rotation matrix below that. How do I get them both to be the same width? I have two sets of parentheses and I ...
0
votes
0answers
40 views

Get a large 0 in a diagonal or triangular matrix matrix [duplicate]

I am interested in creating a matrix that is diagonal (or triangular even) that has a large 0 below the diagonal. Is there a way that I can create a matrix that has entries on the diagonal and then ...
6
votes
3answers
265 views

Matrix decomposition dimensions diagram

What's the easiest way of making diagrams depicting matrix dimensions such as the following? I can do it with simple subscripts, but I like the visual effect that these diagrams give.
3
votes
1answer
87 views

Problem with pmatrix

I'm trying to use pmatrix as follows: \begin{equation}\label{Eq.11} J = \begin{pmatrix} \frac{\partial c_{1}(t+1)}{\partial c_{1}(t)} & \frac{\partial c_{1}(t+1)}{\partial c_{2}(t)} & ...
5
votes
4answers
1k views

Big matrix in latex

I have a big matrix which exceeds the width of page, how can I fix this problem?
5
votes
5answers
979 views

Split a \bmatrix in two line

Code \documentclass[a4paper,twoside,12pt]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath} $\bm{\mu^*}$ = \begin{bmatrix} \begin{split} 17.0716 & 21.3746 & 31.2462 & 34.2847 & ...
1
vote
0answers
50 views

Matrix creating “missing \item” error [closed]

I don't even have an enumerate nor an itemize in my document, but I'm getting a message that says "! LaTeX Error: Something's wrong--perhaps a missing \item." I've searched here and elsewhere, and ...
1
vote
0answers
15 views

Problem with matrix (too many alignment tabs) [duplicate]

I can not see any problem here. I guess that some problem with encoding or end of line could be the reason. See the image. The code. \documentclass[11pt,a4paper]{report} ...
3
votes
2answers
73 views

How can I have a brace on the left and the top of a matrix without overlapping?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{rotating} \begin{document} \begin{align*} \rotatebox[origin=c]{90}{$n$ ...
6
votes
2answers
146 views

Vertical spacing in matrix environment : how can I have the same?

Here's my problem : I'm trying to write a Jacobian matrix as a product of two other's, but the result is wrong because they don't have the same height. Here's my code : \documentclass[11pt]{book} ...
4
votes
2answers
73 views

Array within Align*

LaTeX fresh beginner here. Using TexStudio. In the second row of an equation array (using align*), I am trying to multiply a row vector by a column vector, using the array command. Apparently the ...
4
votes
3answers
224 views

Making size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrix

From the picture below, both are supposed to be 4x4 matrices, but I want to express the first one with 2x2 matrix within 2x2 matrix where the J1 and J2 are 2x2 matrices while the 0 is 2x2 zero matrix. ...
2
votes
2answers
170 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: ...
5
votes
3answers
108 views

Making matrix elements larger vertically

Currently I have a matrix like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \nabla\Psi \times \mathbf{\hat{\theta}} / r = \begin{pmatrix} ...
5
votes
2answers
60 views

vdots in between of two columns

I am trying to make a matrix like the following: but I am not sure how it is possible. since \vdots add 3 dots for each column, I try to do a hack like this: \begin{equation} \label{eq:lsq3} ...
3
votes
2answers
128 views

Issue with \\ in custom command

So I'm trying to make my own command to make matrices less painful My current command is: \newcommand{\mat}[2]{ \left(\begin{array}{#1}{#2}\end{array}\right)} with the intention to use it as: ...