Investigations on soliton characteristics in inhomogeneous magnetized plasmas having trapped electrons