srexpand.m
来自「(源代码)基于计算机的信号处理实践 栾晓明译」· M 代码 · 共 18 行
M
18 行
function y = srexpand(x, L)
%SREXPAND zero fills with L-1 zeros between each sample
%--------
% Usage: Y = srexpand(X, L)
%
% insert L-1 zeros between each sample of the sequence X.
% The output sequence Y has length equal to length(x)*L.
%
% see also ZEROFILL
%---------------------------------------------------------------
% copyright 1994, by C.S. Burrus, J.H. McClellan, A.V. Oppenheim,
% T.W. Parks, R.W. Schafer, & H.W. Schussler. For use with the book
% "Computer-Based Exercises for Signal Processing Using MATLAB"
% (Prentice-Hall, 1994).
%---------------------------------------------------------------
y = zerofill(x, L); %--- use ZEROFILL to do the work
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?