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”是什么意思?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 12:17:56
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”是什么意思?

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”是什么意思?
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”是什么意思?

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”是什么意思?
[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的值