I want to find all elements of a finite matrix group. They can be found by "randomly multiplying" the generators in all possible ways. I have had trouble finding solutions to this problem and I am a total newbie with programming. The entries are from the complex numbers, so it's not over a finite field.
One example I am working on is the group generated by the two matrices:
$$A=\frac{1}{\sqrt{2}} \cdot \begin{pmatrix}1&1\\1&-1\end{pmatrix} $$
$$B=\begin{pmatrix}1&0\\0&i\end{pmatrix} $$
The solution should be that the group generated by these two consists of 192 matrices. I want to find a general solution for cases like these. (2x2 matrices with complex entries).
The best way for me to understand this would be if it works in matlab, but other solutions are very appreciated, too.