When I compute the cross spectral densitiy function Pxy using cpsd.m, and divide by Pxx, the angle is the wrong sign when compared to tfestimate.m Why is that.
조회 수: 5 (최근 30일)
이전 댓글 표시
I am computing the transfer function of a first order butterworth filter with random noise as the input. I compute Pxx, Pyy, Pxy with cpsd.m. When I compute the transfer function, Hxy, the angle is not the correct sign. Thus the phase is not correct. Why is this? When I use Tfestimate.m, it is correct.
댓글 수: 0
답변 (1개)
Honglei Chen
2018년 8월 31일
This is because in tfestimate, the transfer function is defined as Pyx/Pxx, and Pyx is conjugate of Pxy, that's why you see the sign difference in angle.
You can compare the algorithm section in the two functions
HTH
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Chebyshev에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!