Indeed so.
Though, I was comparing their election style though, with the U.S. being indirect and Iran's being direct elections.
In which the electoral college is set up by each state having a number of electoral votes based on population, as in the higher the population the higher the electoral votes.