In this video I have explained the Matlab code for filtering in frequency domain with Ideal and Gaussian filter.
Code:
Ideal filter
https://drive.google.com/file/d/1dMtg...
Filtering with Gaussian filter
https://drive.google.com/file/d/187_r...