mod.m

来自「信号处理,是一本国处优秀教材的附带程序源码,相信对大家有用!」· M 代码 · 共 21 行

M
21
字号
function y = mod(x,N)%MOD    Compute (x mod N) and x can be %---      either positive or negative.%%   Usage:  y = mod(x,N);%%        y : remainder of (x/N) %        x : the input number(s)%        N : the divider%%  see also REM%---------------------------------------------------------------% 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 = rem( rem(x,N)+N, N );

⌨️ 快捷键说明

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