ip_06_10.m
来自「contemporarycommunicatonsystem-using MAT」· M 代码 · 共 18 行
M
18 行
% MATLAB script for Illustrative Problem 10, Chapter 6.echo onT=1;Fs=2/T;Ts=1/Fs;c_opt=[-2.2 4.9 -3 4.9 -2.2];t=-5*T:T/2:5*T; x=1./(1+((2/T)*t).^2); % sampled pulseequalized_x=filter(c_opt,1,[x 0 0]); % since there will be a delay of two samples at the output% to take care of the delayequalized_x=equalized_x(3:length(equalized_x)); % Now, let us downsample the equalizer outputfor i=1:2:length(equalized_x), downsampled_equalizer_output((i+1)/2)=equalized_x(i); echo off;end;echo on ;% plotting commands follow
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?