File:Convolution of box signal with itself2.gif

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

Convolution_of_box_signal_with_itself2.gif(468 × 147像素,文件大小:83 KB,MIME类型:image/gif、​循环、​301帧、​15秒)


描述 An animation displaying the process and result of convolving a box signal with itself. For each position in the resulting hat function the input functions and the multiplied input functions are shown, and the area which is integrated is marked. This work mimics [1] but includes the source code and shows the result of the convolution in the same graph as the input functions.
日期 (UTC)
来源
作者
 
本GIF 位图使用MATLAB创作.

MATLAB Code

% Create folding of two rectangular impulses

clear

X=-2.6:0.001:3;
F1=abs(X)<=1.5;
F2=abs(X)<=1.5;
clf

mkdir('tmp');
[tmp zero_offset] = min(abs(X));

SyncFrames=[1 round(18.67*(1:numel(X)))];
integral=nan(size(X));
frame=1;
for offset_i=1:numel(X);
  offset=X(offset_i);
  shift=offset_i-zero_offset;
  F2_shifted = circshift(F2, [0 shift]);
  product = F2_shifted.*F1;
  integral(offset_i) = sum(product)/numel(X)*(X(end)-X(1));
  
    if offset_i==SyncFrames(frame)
        frame=frame+1;
        area(X, product, 'facecolor', 'yellow');
        hold on
        plot(X, F1, 'b', X, F2_shifted, 'r', X, integral, 'k', [offset offset], [0 2], 'k:')
        hold off
        axis image
        axis([-2.1 2.1 0 1.1])
        xlabel('\tau & t');
        grid on
        legend('Area under f(\tau)g(t-\tau)', 'f(\tau)', 'g(t-\tau)', '(f\astg)(t)');
        print('-dpng','-r72',sprintf('tmp/conv_box_box_%06d.png', offset_i));
        drawnow
    end
end

system('"C:\Program Files\ImageMagick-6.6.3-Q16\convert.exe" -layers Optimize -delay 5 tmp/conv_box_box_*.png conv_box_box.gif');
delete('tmp/*');
rmdir('tmp');

Photoshop was then used to crop the animation.


这是一张修改过的图片,这意味着它已在原版本的基础上通过软件进行了编辑,改动内容:Fixed asterisk, and put tau in.。其原始版本为:Convolution of box signal with itself.gif。修改者:Tinos

我,本作品著作权人,特此采用以下许可协议发表本作品:
w:zh:知识共享
署名 相同方式共享
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
您可以选择您需要的许可协议。

原始上传日志

This image is a derivative work of the following images:

  • File:Convolution_of_box_signal_with_itself.gif licensed with Cc-by-sa-3.0, GFDL
    • 2010-07-07T18:44:30Z Rubybrian 474x145 (79321 Bytes) Cropped the image and compressed it using the commandline convert -layers Optimize -delay 5 -loop 0 conv_box_box_00*.png conv_box_box.gif
    • 2010-07-07T18:14:59Z Rubybrian 587x159 (725000 Bytes) {{Information |Description=An animation displaying the process and result of convolving a box signal with itself. For each position in the resulting hat function the input functions and the multiplied input functions are show

Uploaded with derivativeFX

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

3c59ccecf89600bd3f2aa0c649f213da2d97dd39

84,640 字节

15.050000000000079

147 像素

468 像素

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2010年7月26日 (一) 10:112010年7月26日 (一) 10:11版本的缩略图468 × 147(83 KB)TinosSynchronised with Convolution_of_spiky_function_with_box2.gif.
2010年7月25日 (日) 23:472010年7月25日 (日) 23:47版本的缩略图470 × 150(78 KB)Tinos{{Information |Description=An animation displaying the process and result of convolving a box signal with itself. For each position in the resulting hat function the input functions and the multiplied input functions are shown, and the area which is integ

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据