How does tfestimate work?
If window is an integer, then tfestimate divides x and y into segments of length window and windows each segment with a Hamming window of that length. If window is a vector, then tfestimate divides x and y into segments of the same length as the vector and windows each segment using window .
How to find transfer function from frequency response in matlab?
w = linspace(0,pi); h = freqz(b,a,w); calculates the complex frequency response at the frequency points in w for the filter defined by vectors b and a . The frequency points can range from 0 to 2π.