File:Stehende Welle.gif

Uploaded by Mik81
Upload date 2008-01-21T12:23:29Z
MIME type image/gif
Dimensions 640 × 480 px
File size 909.8 KB

Summary

Description en:Standing wave de:Stehende Welle
Source Own work
Author me
created with

en:GNU Octave

 This plot was created with Gnuplot.

Source

% GNU Octave/Matlab
% mik81
% 
% Stehende Welle

steps = 1/80
speed = (1/steps)/5

timebase = (0.: steps : 3.);
wave = sin( 2. * pi * timebase);

for phi=steps:steps:1
  hinlaufend = sin (2. * pi * timebase - 2. * pi * phi);
  ruecklaufend = sin (2. * pi * timebase + 2. * pi * phi);
  sum = hinlaufend + ruecklaufend;

  axis([0, 3, -2.2, +2.2]);
  plot(timebase, hinlaufend, ";Hinlaufend;"
    , timebase, ruecklaufend, ";Ruecklaufend;"
    , timebase, sum, ";Resultat;"
    , [.5, .5], [-2.2, 2.2], ";Minimum Knoten;"
    , [.75, .75], [-2.2, 2.2], ";Maximum Knoten;");

  clear filename;
  filename = sprintf("./wave%05i.png", phi/steps);
  printf("%s", filename);
  printf("\n");

  print(filename, "-dpng", "-landscape");
  clearplot;
end

Licensing

w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

Category:Animated GIF files Category:Animations of standing waves Category:CC-BY-3.0 Category:Images with MATLAB source code Category:Images with Octave source code Category:PNG created with Gnuplot