Skip to main content

Questions tagged [matrix]

Questions on the manipulation of matrices in Mathematica.

5 votes
0 answers
161 views

I realised that Mathematica's matrix diagonalization (on M4 Pro) is very fast: ...
yarchik's user avatar
  • 25k
9 votes
0 answers
92 views

I have three matrices $a,b,c$ defined as ...
Rob's user avatar
  • 954
6 votes
2 answers
326 views

I am solving a system of nonlinear PDE (1 time, 1 space). I spatially discretize them into vectors n+2 long (the extra 2 being the boundary points). This often leaves me with 2n x 2n Jacobian to ...
DGC's user avatar
  • 61
3 votes
2 answers
201 views

For two $n\times n$ matrices $A$ and $B$ , say $n=4$, I wish to check whether some identities and relations are satisfied by their entries provided $AB=BA$. I do not know what codes I ...
Ali Taghavi's user avatar
2 votes
1 answer
174 views

I am trying to find a nice way to perform multiplication of the matrices M1 and M2 for a set of arbitrary constants. The matrices P and Q satisfy a set of commutation relations that I have tried to ...
Gwaine's user avatar
  • 125
0 votes
1 answer
99 views

How can I define a rule for singular matrices? Ido not want it to affect other matrices.
Anixx's user avatar
  • 3,992
3 votes
1 answer
169 views

I want to see Fragmented Hilbert space obtained in this paper https://arxiv.org/pdf/2512.14182 in Fig. 4(a). But I do not know how it is coming. This is the Hamiltonian and their result obtained for ...
Yuktak's user avatar
  • 325
1 vote
1 answer
108 views

I want to define a multiplet field with two components (two modes) and write an action for it in Mathematica
BISWAJIT SANA's user avatar
3 votes
1 answer
136 views

I have been trying to efficiently process data scraped from websites. One issue is that the data I want is often in the form of a matrix embedded at some level in a ragged list. I have developed one ...
David Keith's user avatar
  • 5,611
4 votes
3 answers
217 views

I have a 2x2 complex matrix ...
Sofee's user avatar
  • 1,036
1 vote
0 answers
72 views

I encountered a weird problem when trying to study a few properties of eigenvectors of matrices sampled from the Gaussian symplectic ensemble (GSE). I have encountered this while trying to understand ...
Erosannin's user avatar
  • 1,226
1 vote
3 answers
442 views

The code I have written to create a chessboard is as follows: ...
N31ngy's user avatar
  • 21
5 votes
3 answers
480 views

I'm somewhat new to Mathematica and want to check symbolic solutions to small positive definite symmetric matrices (like 3x3 in size), which I think should in general yield a symbolic solution since ...
shangjiaxuan's user avatar
0 votes
1 answer
174 views

I have this differential matrix equation f'[x] == {{2 x, y + 5 I}, {-3 I + 2 y, Sin[3 x] - 5 y}}.f[x] for f[x] with the initial ...
charmin's user avatar
  • 1,199

15 30 50 per page
1
2 3 4 5
244