Advanced power converters are being developed due to the latest developments in power electronics switches. The matrix converter (MC) assessment is the product of this drastic growth. MC is a bidirectional power flow device with a single-step energy conversion mechanism that operates at variable voltage and frequency. The main drawback of MC is the presence of harmonics due to power electronic device switching. A lot of research has been done to decrease the harmonics content present in the MC, but it is restricted to a certain level only. To overcome this limit, the harmonics are minimized in the MC by incorporating soft computing controllers. This article presents particle swarm optimization (PSO), modified PSO (MPSO), and modified hybrid PSO (MHPSO) based controllers for different loads. The proposed MC with a soft computing controller reduces the harmonics by selecting suitable switching pulses for every sample. The simulations are made using the MATLAB/Simulink environment. The results of the proposed MHPSO controller reduce the THD value from 8.654 with a PSO approach to 7.536 in the presence of nonlinear loads.