Matlab作业三

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
@rectwin - Rectangular window.
@taylorwin - Taylor window.
@tukeywin - Tukey window.
@triang - Triangular window.
window(@WNAME,N,OPT1,OPT2) designs the window with the optional input
作业三
04012337王俊
实验三
五.Matlab提供了一个特定的窗函数window,可用于克服频谱分析中的截断效应。
1.通过MATLAB的help功能,探究window可以支持的窗函数类型;
2.用window产生各种窗函数(可以设N=128),观察各函数波形;
3.计算并分析各窗函数的谱,观测其谱性状的特点。
@blackmanharris - Minimum 4-term Blackman-Harris window.
@bohmanwin - Bohman window.
@chebwin - Chebyshev window.
@flattopwin - Flat Top window.
@gausswin - Gaussian window.
window launches the Window Design & Analysis Tool (WinTool).
EXAMPLE:
N = 65;
w = window(@blackmanharris,N);
w1 = window(@gausswin,N,2.5);
w2 = window(@taylorwin,N,5,-35);
阶跃响应:
激励为sin t(t>0)的零状态响应:
3.
1.
2.
3.
chebwin, gausswin, hamming, hann, kaiser, nuttallwin, parzenwin,
rectwin, taylorwin, triang, tukeywin, wintool.
Reference page in Help browser
doc signal/window
1.>> help window
windowWindow function gateway.
window(@WNAME,N) returns an N-point window of type specified
by the function handle @WNAME in a column vector. @WNAME can
be any valid window function name, for example:
@bartlett - Bartlett window.
@barthannwin - Modified Bartlett-Hanning window.
@blackman - Blackman window.
plot(1:N,[w,w1,w2]); axis([1 N 0 2]);
legend('Blackman-Harris','Gaussian','Taylor');
See also bartlett, barthannwin, blackman, blackmanharris, bohmanwin,
@hamming - Hamming window.
@hann - Hann window.
@kaiser - Kaiser window.
@nuttallwin - Nuttall defined minimum 4-term Blackman-Harris window.
@parzenwin - Parzen (de la Valle-Poussin) window.
arguments specified in OPT1 and OPT2. To see what the optional input
arguments are, see the help for the individual windows, for example,
KAISER or WIN.
2.
3.
六1.N=20:
N=30:
N=50:
N=100:
N=150:
2.在这里用hamming窗函数来减轻截断效应,可以和原图比较:
N=20:
N=30:
N=50:
N=150:
可以观察到截断效应明显减轻。
实验八
1.
1.
冲激响应:
零输入响应:
2.
冲激响应:
零输入响应:
3.
冲激响应:
零输入响应:
2.
冲激响应:
相关文档
最新文档