"is there certain values I have to enter between the bracketed colons?" No, it's fine as you have it.
You can even use immse(), a built in function.
"how can i do this for multiple vectors" You just put the calculation in a loop and index dist:
Dist(k) = sqrt(immse(image1, image2));