> 知识 >

matlab
b=[0 1 0];
a=[1 0.3 0.2];
freqz(b,a,'whole')
subplot(2,1,1)
title('幅频');
subplot(2,1,2)
title('相频');
这段语句中的“whole”是什么意思?

人气:113 ℃ 时间:2025-10-03 01:04:15
解答

[h,w] = freqz(b,a,n,'whole') uses n points around the whole unit circle, so w has range [0,2pi).
'whole'代表整个单位圆,也就是w会有0-2pi的值

推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版