File:Drum vibration mode22.gif
De Wikimedia Commons
Salta a la navegació
Salta a la cerca
Drum_vibration_mode22.gif (248 × 130 píxels, mida del fitxer: 239 Ko, tipus MIME: image/gif, en bucle, 19 fotogrames, 1,9 s)
Informació del fitxer
Dades estructurades
Llegendes
DescripcióDrum vibration mode22.gif | Illustration of vibrations of a drum. |
Data | (UTC) |
Font | self-made with MATLAB |
Autor | Oleg Alexandrov |
Aquesta GIF imatge rasteritzada ha estat creada amb MATLAB.
Public domainPublic domainfalsefalse |
Jo, el titular del copyright d'aquesta obra, l'allibero al domini públic. Això s'aplica a tot el món. En alguns països això pot no ser legalment possible, en tal cas: Jo faig concessió a tothom del dret d'usar aquesta obra per a qualsevol propòsit, sense cap condició llevat d'aquelles requerides per la llei. |
function main()
k = 2; % k-th asimuthal number and bessel function
p = 2; % p-th bessel root
% Get a grid
R1=linspace(0.0, 1.0, N);
Theta1=linspace(0.0, 2*pi, N);
[R, Theta]=meshgrid(R1, Theta1);
X=R.*cos(Theta);
Y=R.*sin(Theta);
T=linspace(0.0, 2*pi/q, N); T=T(1:(N-1));
for iter=1:length(T);
t = T(iter);
Z=sin(q*t)*besselj(k, q*R).*cos(k*Theta);
figure(1); clf;
surf(X, Y, Z);
caxis([-1, 1]);
shading faceted;
colormap autumn;
% viewing angle
view(108, 42);
axis([-1, 1, -1, 1, -1, 1]);
axis off;
H=text(0, -0.3, 1.4, sprintf('(%d, %d) mode', k, p), 'fontsize', 25);
file=sprintf('Frame%d.png', 1000+iter);
disp(sprintf('Saving to %s', file));
print('-dpng', '-zbuffer', '-r100', file);
pause(0.1);
end
% converted to gif with the command
% convert -antialias -loop 10000 -delay 10 -scale 50% Frame10* Drum_vibration_mode22.gif
function r = find_pth_bessel_root(k, p)
% a dummy way of finding the root, just get a small interval where the root is
X=0.5:0.5:(10*p+1); Y = besselj(k, X);
[a, b] = find_nthroot(X, Y, p);
X=a:0.01:b; Y = besselj(k, X);
[a, b] = find_nthroot(X, Y, 1);
X=a:0.0001:b; Y = besselj(k, X);
[a, b] = find_nthroot(X, Y, 1);
r=(a+b)/2;
function [a, b] = find_nthroot(X, Y, n)
l=0;
m=length(X);
for i=1:(m-1)
if ( Y(i) >= 0 & Y(i+1) <= 0 ) | ( Y(i) <= 0 & Y(i+1) >= 0 )
l=l+1;
end
if l==n
a=X(i); b=X(i+1);
%disp(sprintf('Error in finding the root %0.9g', b-a));
return;
end
end
disp('Root not found!');
Historial del fitxer
Cliqueu una data/hora per veure el fitxer tal com era aleshores.
Data/hora | Miniatura | Dimensions | Usuari/a | Comentari | |
---|---|---|---|---|---|
actual | 23:50, 4 nov 2023 | 248 × 130 (239 Ko) | ReneeWrites (discussió | contribucions) | Reverted to version as of 04:46, 16 January 2008 (UTC) | |
06:52, 5 abr 2023 | 252 × 165 (249 Ko) | Dndnrmn2 (discussió | contribucions) | Reverted to version as of 06:30, 12 January 2008 (UTC) | ||
04:46, 16 gen 2008 | 248 × 130 (239 Ko) | Oleg Alexandrov (discussió | contribucions) | Strip caption, looks better like this | ||
06:30, 12 gen 2008 | 252 × 165 (249 Ko) | Oleg Alexandrov (discussió | contribucions) | {{Information |Description=Illustration of vibrations of a drum. |Source=self-made with MATLAB |Date=06:21, 12 January 2008 (UTC) |Author= Oleg Alexandrov |Permission= |other_versions= }} {{PD-self |
No podeu sobreescriure aquest fitxer.
Ús del fitxer
La pàgina següent utilitza aquest fitxer:
Ús global del fitxer
Utilització d'aquest fitxer en altres wikis:
- Utilització a ca.wikipedia.org
- Utilització a de.wikipedia.org
- Utilització a en.wikipedia.org
- Utilització a en.wikiversity.org
- Utilització a es.wikipedia.org
- Utilització a fr.wikipedia.org
- Utilització a it.wikipedia.org
- Utilització a ko.wikipedia.org
- Utilització a pms.wikipedia.org
- Utilització a sq.wikipedia.org
- Utilització a sr.wikipedia.org
- Utilització a te.wikipedia.org