Angela Merkel has rejected calls to change Germany's refugee policy, following a wave of terror attacks in the country.

She said the asylum seekers responsible for the deadly attacks in Ansbach and Reutlingen had “shamed the country that welcomed them”, but that those fleeing persecution and war had a right to be protected.

The Chancellor vowed not to give in to efforts by Isis supporters to frighten Germans into changing their way of life.

Timeline: Germany rocked by week of deadly violence

“The terrorists want to make us lose sight of what is important to us, break down our cohesion and sense of community, as well as inhibit our way of life, our openness and our willingness to take in people who are in need,” she told a news conference after returning from holiday.

“They see hatred and fear between cultures, and they see hatred and fear between religions. We stand decisively against that."

Ms Merkel said recent attacks in Germany and France aimed to spread division and suspicion.

The German government is proposing new counter-terror measures on information-sharing, web chatter, online arms sales and improving security.

She said the country takes the "challenge of integration very seriously" and is working on anti-radicalisation programmes and early warning systems during asylum proceedings.

A failed Syrian asylum seeker blew himself up in a suicide bombing that injured 15 people outside a music festival in the Bavarian town of Ansbach on 24 July.

In pictures: German train axe attack Show all 8 1 /8 In pictures: German train axe attack In pictures: German train axe attack Blood stains are seen on the regional train on which a man allegedly wielding an axe attacked passengers in Wuerzburg EPA In pictures: German train axe attack A patch of blood and the remains of bandaging material lie on a sidewalk near Wuerzburg EPA In pictures: German train axe attack The body of a 17-years-old attacker is carried to a hearse in Wuerzburg AP In pictures: German train axe attack Police officers search for evidence near Wuerzburg EPA In pictures: German train axe attack Police stand by the regional train on which a man wielding an axe attacked passengers in Wuerzburg EPA In pictures: German train axe attack Firefighters stand at a road block in Wuerzburg EPA In pictures: German train axe attack Rescuers gather on a road near railtracks in Wuerzburg after a man attacked train passengers with an axe AFP/Getty Images In pictures: German train axe attack German emergency services work in the area where a man with an axe attacked passengers on a train Reuters

Mohammad Daleel, 27, had pledged allegiance to Abu Bakr al-Baghdadi, the leader of Isis, in a video shared by the terrorist group.

Earlier the same day, a 21-year-old Syrian refugee killed a pregnant woman with a machete and injured several others in an attack in Reutlingen. The motive for the killing was unclear.

It came after a German teenager of Iranian heritage shot nine people dead before turning the gun on himself in Munich on 22 July. Police said the incident was not terror-related.

In an attack on 18 July, a teenage Afghan asylum seeker attacked train passengers with an axe in Wurzburg after declaring allegiance to Isis. He was shot dead by police.

Thursday was Ms Merkel's second public appearance in the past week. She had faced criticism from opponents for her muted response to the four attacks.

Ms Merkel dismissed criticism, noting she will attend a memorial service in Munich on Sunday, and rejected the notion that she might personally feel any guilt about the attacks. “I have the feeling that I am acting responsibly and correctly, and no other feelings,” she said.

The Chancellor also repeated a phrase she first used at last summer's annual news conference, that Germany “will manage” the challenges of the day.

“I didn't say 11 months ago that it would be an easy thing we could manage in passing, otherwise I wouldn't have had to say that sentence,” she said. “But I am, today as I was then, convinced that we will manage to do justice to our historic task ... we will also deal with the new challenge we now face – Islamist terror,” Ms Merkel said.

The recent wave of atrocities has fuelled growing anti-migrant sentiment in Germany, where more than 1 million asylum seekers arrived last year during the continuing refugee crisis.

The German government announced that all Syrian asylum seekers would be able to remain in the country as arrivals on European shores neared their peak in August last year.