delay.m
来自「MATLAB实现REVERB音效算法。经典!」· M 代码 · 共 16 行
M
16 行
function y=delay(x,d)
%This function delays a signal by d samples.
%
%The structure is: y = delay(x,d)
%
%where x = input signal
% d = the number of samples to delay the input signal
%
%
% Gautham J. Mysore - gauthamjm@yahoo.com
%
y = [zeros(d,1); x];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?