The matchmaking system will match you against opponents at a similar trophy level as yours. The power level of the heroes or troops of each player is not taken into account in the matchmaking.

The difference in the number of trophies possessed by you and your opponent may be considerably large at times, but remember that you will get more trophies if you defeat a player who has more trophies than you.