You can specify win using windows from the Signal Processing Toolbox, such as boxcar , hamming , hanning , bartlett , blackman , kaiser , or chebwin . For accurate results, use frequency points returned by freqspace to create Hd . The frequency vectors f1 and f2 should be in the range -1.0 to 1.0, where 1.0 corresponds to half the sampling frequency, or radians. Hd can be of class double or of any integer class. All other inputs to fwind1 must be of class double .
All outputs are of class double .
Use freqspace to create the frequency range vectors f1 and f2 . Design the filter using a one-dimensional Hamming window. Given two windows, fwind1 forms a separable two-dimensional window. Two-Dimensional Signal and Image Processing .