tfestimate() - does it work for swept sine input?
5 views (last 30 days)
Show older comments
I want to study the FRF of a electromechanical: Input excitation: swept sine, 1Hz-2000Hz in 5s, repeat 20 times So I have measured the input and output with oscilloscope, collected 1,000,000 points/channel over 100s => sampling is 10KHz Then I use:
in_detrend = detrend(in, 'constant');
out_detrend = detrend(out, 'constant');
[Txy, hz] = tfestimate(in_detrend, out_detrend, 8192, 4096, 8192, 10000);
[Cxy, hz_c] = mscohere(in_detrend, out_detrend, 8192, 4096, 8192, 10000);
Then I plot the Bode diagram and coherence. Is this correct? I was told that tfestimate() does not work well with swept-sine input signal How do I tell that the Bode plot make sense? The coherence has to be 1 from 1Hz-to-2KHz?
0 Comments
Answers (0)
See Also
Categories
Find more on Parametric Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!