Bestand:Convolution of spiky function with box2.gif

Pagina-inhoud wordt niet ondersteund in andere talen.
Uit Wikipedia, de vrije encyclopedie

Convolution_of_spiky_function_with_box2.gif(468 × 135 pixels, bestandsgrootte: 76 kB, MIME-type: image/gif, herhalend, 301 frames, 15 s)


Beschrijving 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 File: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.
Datum (UTC)
Bron
Auteur
Matlab Logo 
Dit diagram is gemaakt met MATLAB.

MATLAB 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');

Photoshop was then used to crop the animation.


Dit is een geretoucheerde foto, wat betekent dat de originele versie digitaal aangepast is. Aanpassingen: Fixed asterisk, and put tau in.. Het origineel kan hier bekeken worden: Convolution of spiky function with box.gif. Aanpassingen gedaan door Tinos.

Ik, de auteursrechthebbende van dit werk, maak het hierbij onder de volgende licenties beschikbaar:
w:nl:Creative Commons
naamsvermelding Gelijk delen
Dit bestand is gelicenseerd onder de Creative Commons-licentie Naamsvermelding-Gelijk delen 3.0 Unported
De gebruiker mag:
  • Delen – het werk kopiëren, verspreiden en doorgeven
  • Remixen – afgeleide werken maken
Onder de volgende voorwaarden:
  • naamsvermelding – U moet op een gepaste manier aan naamsvermelding doen, een link naar de licentie geven, en aangeven of er wijzigingen in het werk zijn aangebracht. U mag dit op elke redelijke manier doen, maar niet zodanig dat de indruk wordt gewekt dat de licentiegever instemt met uw werk of uw gebruik van zijn werk.
  • Gelijk delen – Als u het werk heeft geremixt, veranderd, of erop heeft voortgebouwd, moet u het gewijzigde materiaal verspreiden onder dezelfde licentie als het oorspronkelijke werk, of een daarmee compatibele licentie.
GNU head Toestemming wordt verleend voor het kopiëren, verspreiden en/of wijzigen van dit document onder de voorwaarden van de GNU-licentie voor vrije documentatie, versie 1.2 of enige latere versie als gepubliceerd door de Free Software Foundation; zonder Invariant Sections, zonder Front-Cover Texts, en zonder Back-Cover Texts. Een kopie van de licentie is opgenomen in de sectie GNU-licentie voor vrije documentatie.
U mag zelf één van de licenties kiezen.

Oorspronkelijk uploadlogboek

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

Bijschriften

Beschrijf in één regel wat dit bestand voorstelt

Items getoond in dit bestand

beeldt af

image/gif

5624386068bae22e7921ba254f1e8bc3b6fafd2d

77.585 byte

15,050000000000079 seconde

135 pixel

468 pixel

Bestandsgeschiedenis

Klik op een datum/tijd om het bestand te zien zoals het destijds was.

Datum/tijdMiniatuurAfmetingenGebruikerOpmerking
huidige versie26 jul 2010 12:12Miniatuurafbeelding voor de versie van 26 jul 2010 12:12468 × 135 (76 kB)TinosSynchronised with Convolution_of_spiky_function_with_box2.gif.
26 jul 2010 02:20Miniatuurafbeelding voor de versie van 26 jul 2010 02:20469 × 143 (57 kB)Tinos{{Information |Description=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 a

Dit bestand wordt op de volgende pagina gebruikt:

Globaal bestandsgebruik

De volgende andere wiki's gebruiken dit bestand:

Metadata