Hamming Filter in Frequency and Spatial Domain
问题 I want to remove the Gibbs artifact in a 1D signal by applying the Hamming filter on that in MATLAB. What I have is the k1 which is the signal in frequency domain. I can get the signal in time domain by applying DFT on k1 : s1 = ifft(ifftshift(k1)); This signal has Gibbs artifact. Now, I want to remove it by (A) multiplying Hamming filter to k1 in teh frequency domain and (B) convolving IFFT of Hamming filter with s1 in the spatial domain. I am expecting same output from both of these: % (A)