Image:Fourier heat in a plate.png

From Wikipedia, the free encyclopedia

[edit] Summary

Description
Source

self-made

Date
Author

Loisel (talk)

Permission
(Reusing this image)

See below.

MATLAB snippet:

f=@(x,y,n) 2*(((-1).^(2:n+1))./((1:n).*sinh((1:n).*pi))) ...
    * (sin((1:n)'*x).*sinh((1:n)'*y));
ys=0:0.01:pi;
g=[];
for y=ys
    n=max(20,min(100,-10*log(pi-y)/(pi-y)));
    g=[g;f(ys,repmat(y,1,length(ys)),n)];
end
g(end,:)=ys';
imagesc(ys,ys,g(end:-1:1,:));
axis square
axis off

[edit] Licensing

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current22:32, 15 February 2008672×504 (12 KB)Loisel (Talk | contribs) (Had to flip MATLAB's silly y coordinates.)
22:24, 15 February 2008875×672 (13 KB)Loisel (Talk | contribs) ({{Information |Description= |Source=self-made |Date= |Location= |Author=~~~ |Permission= |other_versions= }} MATLAB snippet: f=@(x,y,n) 2*(((-1).^(2:n+1))./((1:n).*sinh((1:n).*pi))) ... * (sin((1:n)'*x).*sinh((1:n)'*y)); ys=0:0.01:pi; g=[]; for y=ys)

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):