How to find the convolution of two signals using fourier transform?

6 ビュー (過去 30 日間)
Aashay Naik
Aashay Naik 2013 年 11 月 9 日
回答済み: Wayne King 2013 年 11 月 9 日
f1=e^-3t
f2=e^-2t

回答 (1 件)

Wayne King
Wayne King 2013 年 11 月 9 日
If you just want to know how to convolve two vectors in MATLAB using the DFT
x = randn(8,1);
y = randn(8,1);
npad = length(x)+length(y)-1;
xConvy = ifft(fft(x,npad).*fft(y,npad));
Compare with:
conv(x,y)

カテゴリ

Help Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by