How to Create an nxn Matrix with Opposite Diagonal Elements in LaTeX?

  • Context: LaTeX 
  • Thread starter Thread starter azdang
  • Start date Start date
  • Tags Tags
    Latex Matrix
Click For Summary

Discussion Overview

The discussion revolves around creating an nxn matrix in LaTeX with specific elements positioned along the opposite diagonal, starting from the bottom left to the top right. Participants seek assistance with formatting this matrix correctly in LaTeX, focusing on the placement of elements and the exclusion of other elements.

Discussion Character

  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant requests help in creating a matrix with 1's on the opposite diagonal, specifically in positions a_{(n,1)}, a_{(n-1,2)}, a_{(n-2,3)},... a_{(1,n).
  • Another participant provides a link to a resource that may assist with LaTeX formatting.
  • The original poster expresses familiarity with creating normal diagonal matrices but struggles with the specific requirements for the opposite diagonal matrix.
  • There is a request for clarification on avoiding vertical dots and ensuring that only the reverse diagonal elements are indicated.

Areas of Agreement / Disagreement

Participants generally agree on the need for assistance with LaTeX matrix formatting, but there is no consensus on the specific solution or method to achieve the desired matrix structure.

Contextual Notes

The discussion highlights limitations in available resources for specific LaTeX formatting needs and the challenges faced by participants in achieving the desired matrix layout.

azdang
Messages
80
Reaction score
0
Help Making A Matrix in Latex??

Hi, I need to make an nxn square matrix using Latex with 1's starting in the bottom left all the way up to the top right on that sort of opposite diagonal. I can't figure out to do it. Can anyone help? Thank you.
 
Physics news on Phys.org
Hi azdang! :smile:

See http://www.physics.udel.edu/~dubois/lshort2e/node56.html#SECTION00850000000000000000 :wink:
 
Last edited by a moderator:


Hi Tiny Tin, thanks for the website. I have a few websites that I look at often for Latex help, but I haven't come across anything helpful. I have no trouble making normal diagonal matrices, but I don't know how to only get elements in positions [tex]a_{(n,1)},a_{(n-1,2)},a_{(n-2,3)},...a_{(1,n)}[/tex].

And I don't want any vertical dots or anything because all other elements are zero. The only place I would want dots would be on this reverse diagonal in between elements [tex]a_{n,1}[/tex] and [tex]a_{1,n}[/tex] to indicate that \lambda is along this diagonal.
 
azdang said:
Hi Tiny Tin, thanks for the website. I have a few websites that I look at often for Latex help, but I haven't come across anything helpful. I have no trouble making normal diagonal matrices, but I don't know how to only get elements in positions [tex]a_{(n,1)},a_{(n-1,2)},a_{(n-2,3)},...a_{(1,n)}[/tex]

:rolleyes:
look at the link!​
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K