I am trying to write a system of the form Ax=By, where A and B are "big matrices". Here my code:
\begin{equation*}
\begin{flushleft}
\begin{bmatrix}
\textbf{I} & -\beta\,\Delta t\,\textbf{I} & \textbf{0}\\[0.35cm]
\beta\,\Delta t\,\textbf{E} & \textbf{M} & -\beta\,\Delta t\,\textbf{B} \\[0.35cm]
\textbf{0} & \beta\,\Delta t\,\textbf{B}^\mathrm{T} &\overline{\textbf{C}}+\beta \,\Delta t\,\overline{\textbf{K}}\,
\end{bmatrix}
\begin{bmatrix}
\{u^{(n+1)}\}\\[0.35cm]
\{v^{(n+1)}\} \\[0.35cm]
\{\vartheta^{(n+1)}\}
\end{bmatrix}
=\\[0.2cm]
\end{flushleft}
\begin{flushright}
=\begin{bmatrix}
\textbf{I}& (1-\beta)\,\Delta t\,\textbf{I} & \textbf{0}\\[0.35cm]
-(1-\beta)\,\Delta t\,\textbf{E} & \textbf{M} & (1-\beta)\,\Delta t\,\textbf{B} \\[0.35cm]
\textbf{0}& -(1-\beta) \,\Delta t\,\textbf{B}^\mathrm{T} &\overline{\textbf{C}}- (1-\beta)\,\Delta t\,\overline{\textbf{K}}\,
\end{bmatrix}
\begin{bmatrix}
\{u^{(n)}\}\\[0.35cm]
\{v^{(n)}\} \\[0.35cm]
\{\vartheta^{(n)}\}
\end{bmatrix},
\end{flushright}
\end{equation*}
I am getting some error (e.g. Bad math environment delimiter. \end{equation*}). How to fix it? Any suggestion for a better formatting? Thanks!