- #1
munirah
- 31
- 0
<< Mentor Note -- thread moved from Homework Help forums to General Math >>
Good day,
I run coding in Mathematica. But, I get singular matrix A at certain loop. In theory, how can I make matrix A become orthogonal
A=\begin{pmatrix} 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0 \\ 0& 0 &
0 & 0 & -1 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & -1 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\end{pmatrix}
because I want to make a unitary transformation on matrix B
B=\begin{pmatrix} 1& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0 \\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\end{pmatrix}
with using definition AB A^{-1} since matrix A is orthogonal matrix.
Please help me to figure out my problem.
Thank you very much.
Good day,
I run coding in Mathematica. But, I get singular matrix A at certain loop. In theory, how can I make matrix A become orthogonal
A=\begin{pmatrix} 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0 \\ 0& 0 &
0 & 0 & -1 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & -1 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\end{pmatrix}
because I want to make a unitary transformation on matrix B
B=\begin{pmatrix} 1& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0 \\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0\\ 0& 0 &
0 & 0 & 0 & 0 & 0 & 0
\end{pmatrix}
with using definition AB A^{-1} since matrix A is orthogonal matrix.
Please help me to figure out my problem.
Thank you very much.
Last edited by a moderator: