Hi Robin, I was confronted with this issue as a visiting preacher used this scripture to justify believing in Jesus to get a miracle. I suggested that it was because of what people would do that he did not do the miracles. In fact, jesus healed two people with demons which went into a herd of pigs and the whole of a local city came out to tell Jesus to keep away. Faith when I read Matt is to do with believing that Jesus is who he says he is. In his home town they tried to throw Him off a cliff because they lacked faith. The disciples were told they had little faith when Jesus calmed the storm. And they even wondered who Jesus was because he did so. Miracles were the evidence of who he was but Jesus was not dependent on other people's faith to do them.
If we have faith in a wrong idea of who Jesus is, we have no faith at all. But it is a belief in the Jesus as revealed by his Holy Spirit who, just as Jesus showed us what the Father is like, the HS teaches us who both Jesus and the Father are like.
Paul T