I'd like to compute the centralizer of a subgroup $H$ of orthogonal group $O(8, R)$, so I need to solve the equation $AX=XA, BX=XB \mbox{ where } H=\langle A, B\rangle.$ The problem that I have is matrices A and B are symbolic, in fact their entries are for example$(\cos \frac{1}{n})$ or $(\sin \frac{1}{n})$. I think the command lyap can help me, but in all examples that I have seen matrices $A$ and $B$ have been numerical not symbolic. I will appreciate any comments and help to solve this problem.
Asked
Active
Viewed 186 times
1
\langleand\rangleto produce $\langle A,B \rangle$ instead of $<A,B>$ which looks weird (and the spacing is wrong). Also (from your previous edits) it's better to use\frac$\frac{x}{y}$ instead of\over${x \over y}$ and\mathbb$\mathbb{R}$ instead of\Bbb$\Bbb{R}$. – dtldarek Aug 01 '13 at 09:11lyapis in the Control Systems toolbox. Assuming that this is a Lyapunov system, and you want to use Matlab, you'll need to write some code. Here's a paper entitled Solving Lyapunov equations symbolically that might help - it includes simple Maple code that you could probably decipher and translate into Matlab. – horchler Aug 01 '13 at 17:06mupadin command window to use it. – Mahdi Khosravi Aug 07 '13 at 07:33