?? cirshftt.m
字號:
function y = cirshftt(x,m,N)% Circular shift of m samples wrt size N in sequence x: (time domain)% -------------------------------------------------------------------% [y] = cirshftt(x,m,N)% y = output sequence containing the circular shift% x = input sequence of length <= N% m = sample shift% N = size of circular buffer% Method: y(n) = x((n-m) mod N)% Check for length of xif length(x) > N error('N must be >= the length of x')endx = [x zeros(1,N-length(x))];n = [0:1:N-1];n = mod(n-m,N);y = x(n+1);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -