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