This zip-file contains two m-files that generate 2D spectral plots of smoothing and differentiation filters.
The files are useful for illustration and educational purposes.
[w,A] = ztrans1d(h);
[u,v,A] = ztrans2d(h);
u,v,w = 1d and 2d frequencies up the folding frequency. A = amplitude density.
h = 1D and 2D filter coeffecients.
Abdulwahab Abokhodair (2019). 2D & 3D Spectra of Savitzky-Golay Smoothing and Differentiation Filters (https://www.mathworks.com/matlabcentral/fileexchange/9398-2d-3d-spectra-of-savitzky-golay-smoothing-and-differentiation-filters), MATLAB Central File Exchange. Retrieved .