?? cconv.m
字號:
function y = cconv(x, h)% lconv -- perform a circular convolution with ffts%% Usage% y = cconv(x, h)%% Inputs% x, h input vectors (must have the same length)%% Outputs% y the circular convolution of x and h% Copyright (C) -- see DiscreteTFDs/Copyrighterror(nargchk(2, 2, nargin));x = x(:);N = length(x);h = h(:);M = length(h);if (M ~= N) error('Input vectors must have the same length')endy = ifft( fft(x) .* fft(h));if (isreal(x) & isreal(h)) y = real(y);end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -