<p>In applied and computational mathematics, quaternions are fundamental in representing three-dimensional rotations. However, specific types of quaternionic linear matrix equations remain few explored. This study introduces new quaternionic linear matrix equations and their necessary and sufficient conditions for solvability. We employ a methodology involving lemmas and ranks of coefficient matrices to develop a novel algorithm. This algorithm is validated through numerical examples, showing its applications in advanced fields. In control theory, these equations are used for analyzing control systems, particularly for spacecraft attitude control in aerospace engineering and for control of arms in robotics. In quantum computing, quaternionic equations model quantum gates and transformations, which are important for algorithms and error correction, contributing to the development of fault-tolerant quantum computers. In signal processing, these equations enhance multidimensional signal filtering and noise reduction, with applications in color image processing and radar signal analysis. We extend our study to include cases of $ \eta $-Hermitian and i-Hermitian solutions. Our work represents an advancement in applied mathematics, providing computational methods for solving quaternionic matrix equations and expanding their practical applications.</p>