Simulation of ion‐cyclotron‐like modes in a magnetoplasma with transverse inhomogeneous electric field