File:Convolution of spiky function with box2.gif

来自testwiki
跳转到导航 跳转到搜索
Convolution_of_spiky_function_with_box2.gif (468 × 135像素,文件大小:76 KB,MIME类型:image/gif、​循环、​301帧、​15秒)
注意:由于技术限制,高分辨率GIF图像的缩略图无法进行动画处理。

本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。

摘要

描述
English: An animation displaying the process and result of convolving a box signal with a spiky impulse response. 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 Convolucion de entrada con respuesta al impulso.gif but includes the source code and shows the result of the convolution in the same graph as the input functions. The function used is for and 0 otherwise.
日期
来源 基于如下对象的个人作品: Convolution of spiky function with box.gif  Brian Amberg
作者 Tinos
GIF开发
InfoField
 本示意图使用MATLAB创作。

Source code

% Create folding of rectangular impulse with spiky function

clear

X=-2.1:0.001:4;
F1=exp(-X);
F1(X<0)=0;
F2=abs(X)<=0.5;
clf

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

SyncFrames=[1 round(20.3366666*(1:numel(X)))];
frame=1;
integral=nan(size(X));
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([-1.6 3.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_spike_%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_spike_*.png conv_box_spike.gif');
delete('tmp/*');
rmdir('tmp');

许可协议

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


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

原始上传日志

This image is a derivative work of the following images:

  • File:Convolution_of_spiky_function_with_box.gif licensed with Cc-by-sa-3.0, GFDL
    • 2010-07-07T18:41:06Z Rubybrian 475x144 (108640 Bytes) Cropped the image and optimized the output for size using convert -layers Optimize -delay 5 -loop 0 conv_box_spike_*.png conv_box_spike.gif
    • 2010-07-07T18:22:54Z Rubybrian 587x159 (1081595 Bytes) == Summary == {{Information |Description=An animation displaying the process and result of convolving a spiky signal with itself. For each position in the resulting hat function the input functions and the multiplied input fu

Uploaded with derivativeFX

说明

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

此文件中描述的项目

描繪內容

5624386068bae22e7921ba254f1e8bc3b6fafd2d

77,585 字节

15.050000000000079

135 像素

468 像素

文件历史

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

日期/时间缩⁠略⁠图大小用户备注
当前2010年7月26日 (一) 11:122010年7月26日 (一) 11:12版本的缩略图468 × 135​(76 KB)wikimediacommons>TinosSynchronised with Convolution_of_spiky_function_with_box2.gif.

以下页面使用本文件: