Question: how to calculate frf in matlab?
Answer: frf = modalfrf( x , y , fs , window ) estimates a matrix of frequency response functions, frf , from the excitation signals, x , and the response signals, y , all sampled at a rate fs . The output, frf , is an H1 estimate computed using Welch's method with window to window the signals.