Skeda:Convolution of box signal with itself2.gif

Nga testwiki
Kërceni tek navigimi Kërceni tek kërkimi
Convolution_of_box_signal_with_itself2.gif (468 × 147 pixela, madhësia e skedës: 83 KB, tipi MIME: image/gif, kthyer, 301 korniza, 15 s)
Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

Kjo skedë është nga Wikimedia Commons dhe mund të përdoret nga projektet e tjera. Përshkrimi në faqen përshkruese të skedës është treguar më poshtë.

Përshkrimi 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.
Data (UTC)
Burimi
Autori
 This diagram was created with 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.


This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: Fixed asterisk, and put tau in.. The original can be viewed here: Convolution of box signal with itself.gif. Modifications made by Tinos.

Unë, krijuesi i kësaj pune, e publikoj këtu në bazë të licensës në vijim:
w:sq:Creative Commons
atribuim share alike
Je i lirë të:
  • ta shpërndani – ta kopjoni, rishpërndani dhe përcillni punën
  • t’i bëni “remix” – të përshtatni punën
Sipas kushteve të mëposhtme:
  • atribuim – Duhet t’i jepni meritat e duhura, të siguroni një lidhje për tek licenca dhe të tregoni nëse janë bërë ndryshime. Këtë mund ta bëni në ndonjë mënyrë të arsyeshme, por jo në ndonjë mënyrë që sugjeron se licencuesi ju del zot juve apo përdorimit tuaj.
  • share alike – Nëse bëni një “remix”, e shndërroni, ose ndërtoni duke u bazuar te materiali, duhet t’i shpërndani kontributet tuaja sipas të njëjtës licencë ose një të tille të përputhshme me origjinalen.
GNU head Ju jepet leje për ta kopjuar, shpërndarë dhe/ose ndryshuar këtë dokument sipas kushteve të Licencës GNU për Dokumentim të Lirë, versioni 1.2 ose çfarëdo versioni të mëpasshëm të botuar nga Free Software Foundation; pa Seksione të Pandryshueshme, pa Tekste Kapakësh të Përparmë, dhe pa Tekste Kapakësh të Pasmë. Një kopje e kësaj licence është përfshirë në seksionin e titulluar GNU Free Documentation License.
Mundeni të përzgjidhni licencën që doni.

Regjistri origjinal i ngarkimeve

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

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

përshkruan

25 korrik 2010

checksum anglisht

3c59ccecf89600bd3f2aa0c649f213da2d97dd39

data size anglisht

84.640 Bajti

15,050000000000079 sekonda

147 pixel

468 pixel

Historiku i skedarit

Kliko mbi një datë/orë për ta parë skedarin siç është shfaqur në atë kohë.

Data/OraMiniaturaPërmasatPërdoruesiKoment
e tanishme26 korrik 2010 11:11Miniaturë për versionin duke filluar nga 26 korrik 2010 11:11468 × 147 (83 KB)wikimediacommons>TinosSynchronised with Convolution_of_spiky_function_with_box2.gif.

faqe lidhet tek kjo skedë: