One possibility would be to zero-pad the smaller image so it is the same size as the larger one.
From the documentation:
- Y = fft2(X,m,n) truncates X, or pads X with zeros to create an m-by-n array before doing the transform. The result is m-by-n.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!