"We will strengthen our defence and military capabilities. whether you want it or not", he said in a direct response to Mr Trump's speech at the UN General Assembly this week. "To defend our homeland, we will not ask permission to anyone", said the iranian president in a speech broadcast live on television.
He added: "Iran's military power lies in its commitment to never invade another country or land".
Iran unveiled its latest ballistic missile dubbed "Khoramshahr" during a military parade in Tehran on Friday.
During the general Assembly of the united nations in NY, the us president, Donald Trump has denounced the nuclear deal reached with Iran, as well as its ballistic program. 22 hold the parade on the occasion of "the sacred defense week", marking the beginning of 1980s war with Iraq. After conclusion of the nuclear deal and slight lifting of the United States sanctions, Washington immediately announced about imposition of new sanctions on Iran because of its program for developing ballistic missiles.
Rouhani had earlier said his country meant to strengthen the capabilities of the country's missile system.
Rouhani said the United States and Israel have isolated themselves by opposing the 2015 nuclear agreement between Iran and the other major powers. Iran supports the syrian regime, as well as islamist groups, the palestinian and the rebel Houthis in Yemen. In Syria, Iran is a close ally of President Bashar Assad.
The state-run news agency IRNA quoted the chief of the Revolutionary Guards' airspace division, Gen. Amir Ali Hajizadeh, as saying that the new missile "can carry several warheads for various uses".
Announcing the introduction of new sanctions against Iran, then-US President Barack Obama said the nuclear deal was never meant to resolve all controversy with Iran.
Trump has suggested that the Iranian missiles might be used for carrying a nuclear warhead, the allegations which Iran has rejected.
Mr. Trump's secretary of state, Rex W. Tillerson, has said that the Iran nuclear agreement must be changed or the United States would not stick with it. Iran has said the accord is not up for renegotiation.