⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 examp46.m

📁 ADSP TOOLBOX: Version 2.0 and gui m-files
💻 M
字号:

clc,echo on 
%EXAMPLE 46 
n=0:3;xn=[0, 1, 0, -1];          % DT index and Signal samples 
yi=interpol(xn,'sinc',16);       % Sinc interpolated signal
N=length(yi);ni=(0:N-1)/16;      % Index for interpolated signal
dtplot(ni,yi,'o');pause(2)       % Plot interpolated signal
M=5;yd=yi(1:M:N);                % Decimate yi by 5 
nd=ni(1:M:N);                    % DT array for resampled yd
dtplot(nd,yd,'o')                % Plot resampled signal
echo off %end of example

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -