Questions tagged [bordermatrix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to rolling windows block in latex? [duplicate]

I wanted to write the following matrix, but I can't draw borders. This is a sample code that I found on the internet \left.R=\left[\begin{array}{cccc} r_{1,1} & r_{1,2} & \cdots & r_{1, S}...
user avatar
  • 1
0 votes
1 answer
100 views

How can I draw this kind of matrix?

How can I draw this kind of matrix?
user avatar
0 votes
1 answer
48 views

Make some corrections about a relative complex matrix

I have received a relative complex matrix made with Tikz. I would like to do some modifications on a few points. Here the source : \documentclass[tikz,margin=1mm]{standalone} \usepackage[utf8]{...
user avatar
3 votes
1 answer
73 views

Plot above matrix

I need Help ! I need to add the yellow dot with arrow. In my model If possible something like coordinates so that in the future you can move the point from place \documentclass{article} \usepackage{...
user avatar
3 votes
2 answers
378 views

Alignment of exterior column entries with nicematrix

I am using the nicematrix package to typeset a matrix with border (exterior) entries. Currently my code is like this: \documentclass[preview]{standalone} \usepackage{nicematrix} \begin{document} $\...
user avatar
  • 33
0 votes
1 answer
140 views

Bad Alignment with bordermatrix in mathjax

I'm trying to make a border matrix but the elements outside the pmatrix are badalignment respect the pmatrix using Mathjax. Here's the code: \documentclass[14pt,a4paper,oneside]{article} \usepackage[...
user avatar
  • 805
1 vote
1 answer
66 views

How to set a default border for each cell in table?

I have a document which has some tables in it and I want to set some default border for each cell in the table. Right now I have defined a new command and I have to call that command for each cell but ...
user avatar
0 votes
1 answer
2k views

Matrix in latex using border matrix

I have written this in latex: \begin {equation} \label{E:1} A={\frac{w_i}{w_j}} = {a_{ij}} ={\bbordermatrix{& C_1 & C_2 & C_\ldots & C_n \cr C_1 & (w_1/w_1)=1 &...
user avatar
  • 3
2 votes
2 answers
111 views

Add Arrow to Bordermatrix

I have the following code for a border Matrix: $\bordermatrix{% & A& B& C& D& E \cr CV_{1} & 0.16 & 0.31 & 0.76 & 0.82 & 0.042 \cr ...
user avatar
2 votes
1 answer
418 views

Writing "stochastic matrices" in LaTeX

I'm having some notes on stochastic processes and would like to know if there is a less painful way to build stochastic matrices in LaTeX. By painful I want to continue the way I did below. Question. ...
user avatar
  • 2,740
2 votes
2 answers
609 views

Two columns outside matrix

I have a matrix with elements outside of this matrix: \documentclass{article} \begin{document} \begin{equation} \bordermatrix{ & A_1 & A_2 & \cdots & A_n ...
user avatar
5 votes
2 answers
764 views

Better spacing around brackets of kbordermatrix

I'm using kbordermatrix to put some indices on my matrices. An example would be the following: See the end of the post for the code behind this example. The problem is that the spacing between the [ ...
user avatar
  • 129
1 vote
3 answers
574 views

Alingments in bordermatrix

I have a bordematrix with fractions and I want to adjust the alingment because numbers are overlaping. How can I do it? The example is this one: \bordermatrix{~ & 1000 & 1001 & 1010 & ...
user avatar
  • 13
0 votes
0 answers
148 views

Kbordermatrix and underbrace [duplicate]

I want to create a kbordermatrix with an underbrace and some text below. I tried it with \documentclass{scrartcl} \usepackage{kbordermatrix} \begin{document} \[ \underbrace{ \kbordermatrix{ & 1 &...
user avatar
2 votes
1 answer
355 views

problem with pmatrix closing bracket

I have something like that : \begin{equation} \label{eq:vecdir} \mathbf{a}(\mathbf{k}_p) = \begin{pmatrix} 1&\\ e^{j\pi \frac{\mathbf{d}_1}{\lambda}\mathbf{k}_p}&\\ ...
user avatar
1 vote
2 answers
352 views

block matrix headings

I'm trying to write the following block matrix but i have some points i need a help to fix it. first, in the block matrix where i write some headings (k_1, k_2 n-k_1-k_2) there is between them ...
user avatar
  • 191
0 votes
0 answers
257 views

How to represent a big border matrix in latex?

I have tried a little, but getting confused how to represent the big curly braces on the top of the matrix? The MWE is as follows. \documentclass{article} %\usepackage{amsmath} % <-- You already ...
user avatar
  • 1,512
2 votes
1 answer
855 views

How to represent the following border matrix in latex?

I have tried and st-rucked in between. My main query is how to place the curly brace so that it covers entire T11 to T1p1, as shown in the attached image. Does there exist any syntax similar to \Biggl ...
user avatar
  • 1,512
2 votes
1 answer
180 views

Bordermatrix with thinner rows?

I found this great question about how to reduce white space in bordermatrix columns: \documentclass[12pt]{article} \begin{document} {\let\quad\thinspace $\bordermatrix{% & 0 & 1 & 2 ...
user avatar
  • 121
1 vote
3 answers
485 views

Problem with \bordermatrix

I need to write a complicated determinant of matrix, that has a structure as in the attached picture.
user avatar
7 votes
3 answers
1k views

how to vertical align text before blockarray in blkarray package?

I have to label row and column index around matrix. I know blkarray would help, so I write like this: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{blkarray}% http://ctan....
user avatar
  • 173
1 vote
1 answer
6k views

3x3 Normal Form Payoff Matrix in LaTeX Tabular Environment

~Disclaimer~ This question is a generalization of this question to the 3x3 case. I would like the same format as the top example in the answer to the above question; That is, "Player 1" on the left, "...
user avatar
  • 1,205
1 vote
0 answers
113 views

\underbrace in bordermatrix

Is there a possibility to use \underbrace in a \bordermatrix? I want to underbrace some elements in the last row of the matrix, but it is important that it stays a bordermatrix, because I need the ...
user avatar
  • 11
1 vote
1 answer
1k views

Labeling all sides of the matrix with kbordermatrix

I have a matrix with labels on the left and top. Now I want to have a label on all sides of the matrix. How can I change my code? \documentclass[10 pt, a4paper, leqno, oneside] {report} \usepackage{...
user avatar
  • 113
1 vote
0 answers
408 views

Create border matric with indices on all four sides

I have tried to use the command \bordermatrix but struggle to get it to work when all for sides has an index. The matrix I'm trying to replicate look like this
user avatar
  • 113
2 votes
1 answer
112 views

bMatrix with dot variable inside juping around

Sorry for the bad question but I could not phrase it better. The code is as follows and the output I want is [q_s,(dot)q_s]^T (I want it as a column not as the row transpose that works). \dot{x} = \...
user avatar
5 votes
2 answers
2k views

How to represent the following math equation (border matrix) in Latex?

I am frustrated in setting the above attached picture to my manuscript. All things are feasible by using the \begin{cases} or matrices environment. The placing of T1, T2, ... , Tn and V1, V2, ..., Vn ...
user avatar
  • 1,512
2 votes
2 answers
741 views

confusion matrix with [ ] delimeters

I would like to make a confusion matrix that looks like the one on the picture. How can I achive this? Thanks
user avatar
2 votes
2 answers
929 views

How to customize a kbordermatrix

To the matrix given below, I would like to add the following two features: A downarrow centered below the text "Column j." Highlight the entry a_{ij}. How might I achieve this? \documentclass{...
user avatar
  • 3,746
5 votes
1 answer
2k views

Redefining \bordermatrix

Greetings to all of the community! Could anyone help on redefining the \bordermatrix to get results as shown? The initial question was about changing form of braces (and there is a thread about it) ...
user avatar
0 votes
0 answers
278 views

Bordermatrix without the top row

Is it possible to remove the top row from a \bordermatrix? I only need to put indices on the left of the matrix, but even if I don't enter any values, my document creates a blank line above the matrix:...
user avatar
  • 389
2 votes
1 answer
4k views

Bordermatrix without brackets

I am hanging on this one since yesterday and was not able to find an example nor anything in the documentation --- maybe I am blind? What i want is a matrix with border annotations BUT without the ...
user avatar
  • 775
11 votes
2 answers
26k views

Creating a Payoff Matrix Using LaTeX Tabular Environment

I'm trying to use my limited knowledge of LaTeX to create a payoff matrix by hand. Here's my first try: \begin{tabular}{cc|c|c|} & & Player $Y$ & \\ ...
user avatar
  • 1,205
3 votes
1 answer
1k views

Right justify columns in border matrix

I would like to right justify the columns in a border matrix. Is this possible? Default seems to be centre \documentclass{article} \begin{document} $ \bordermatrix{~ & 5 & 6\cr ...
user avatar
  • 225
2 votes
1 answer
1k views

Problems with centering a border matrix

I have the following code: \begin{figure}[h!] \centering \bordermatrix{~& \ket{\Phi_{0}} & \ket{S} & \ket{D} & \ket{T} & \ket{Q} & \dots \cr \bra{\Phi_{0}} & E_{0} & ...
user avatar
  • 55
2 votes
1 answer
471 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 ...
user avatar
0 votes
1 answer
432 views

How to break a bordermatrix into multiple matrices?

I have a border matrix that is too large to fit on one page. I want to break it into multiple matrices.
user avatar
  • 1
2 votes
2 answers
2k views

Latex \kbordermatrix with row labels on the right side

I'm needing to create a matrix enclosed with brackets [], not parentheses (), with row labels on right side. Is this possible using \kbordermatrix? For instance, in the following: \kbordermatrix{\...
user avatar
  • 21
3 votes
4 answers
2k views

When the left-right parenthesis is too big, how to make it smaller?

When the left-right parenthesis is too big as in the example below, how do you make the parenthesis smaller? \documentclass[reqno]{amsart} \usepackage{amssymb} \...
user avatar
14 votes
3 answers
2k views

Exam Class : With Question with images and border

I'm learning Exam Class to generate question paper. Sample tex code is mentioned below: \documentclass{exam} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[...
user avatar
  • 2,861
7 votes
2 answers
3k views

Put names on top of matrix

I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates ...
user avatar
3 votes
1 answer
281 views

how to create columns of array

I use the following code to generate this: \begin{center} 2 Iteración\\ Fila $S_{1}$ \end{center} \small \[\begin{array}{crl} \kbordermatrix{\mbox{ }& & & & & & & \\ ...
user avatar
10 votes
4 answers
11k views

braces over matrix

I want to make an overbrace and a side brace on my matrix in order to indicate its size. How can I achieve that. \begin{pmatrix} 1 & 1 & 0 & .& . & . & 0 & 1 \\ 0 &...
user avatar
  • 183
4 votes
2 answers
2k views

bordermatrix with more space between rows when there are fractional elements

I am using a modified version of \bordermatrix as defined here: \bordermatrix with brackets [ ] instead of parentheses ( ) My matrices have fractional elements and I would like to add additional ...
user avatar
1 vote
0 answers
79 views

How to make a matrix like this? [duplicate]

can anyone help me to making a matrix with braces like this?
user avatar
1 vote
1 answer
2k views

Making the entries of bordermatrix smaller

How do I make the entries in bordermatrix smaller? \documentclass[reqno]{amsart} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsmath} \usepackage{amsthm} \usepackage{stackrel} \...
user avatar
24 votes
3 answers
29k views

\bordermatrix with brackets [ ] instead of parentheses ( )

I have the following code: \documentclass{article} \begin{document} $ M = \bordermatrix{~ & x & y \cr A & 1 & 0 \cr B & 0 & 1 \cr} $ \end{document} ...
user avatar
  • 423
4 votes
1 answer
1k views

TikZ-equivalent of bordermatrix with automatic alignment of labels

I would like to create a TikZ matrix (containing pictures in the cells) and annotate rows/columns of this matrix is the same manner as \bordermatrix allows. This is (approximately) a picture of what I ...
user avatar
  • 445
6 votes
1 answer
9k views

How to create a matrix with rows and columns labeled (at the right side)?

I would like to create a matrix with rows and columns being labeled. I would like the matrix elements to be right aligned, the row labels being displayed to the right of the matrix, and the column ...
user avatar
12 votes
2 answers
7k views

Write elements above and right outside the matrix

I found writing matrix's code is a boring work. There is one, you can see in pic below. Can anybody help?
user avatar
  • 225