File:Laplaces method.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:Laplaces method.png](https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Laplaces_method.png/235px-Laplaces_method.png?20090523211517)
Size of this preview: 235 × 600 pixels. Other resolutions: 94 × 240 pixels | 406 × 1,036 pixels.
Original file (406 × 1,036 pixels, file size: 23 KB, MIME type: image/png)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
![]() |
File:Laplaces method.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.
File:Laplaces method.png → File:Laplaces method.svg
For more information, see Help:SVG.
|
Summary
[edit]DescriptionLaplaces method.png |
English: Illustration of the method of steepest descent |
Date | (UTC) |
Source | self-made with Matlab |
Author | Oleg Alexandrov |
Permission (Reusing this file) |
Public domain |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Matlab_Logo.png/25px-Matlab_Logo.png)
This diagram was created with MATLAB.
Source code
[edit]% Illustration of Laplace's method
N = 500;
L = 15;
fs = 12;
lw = 2;
lw2 = 1;
X = linspace(-L, L, N)+eps;
f = sin(X)./X;
g = (1-X.^2/6);
figure(1); clf; hold on;
q = 1.01;
subplot(2, 3, 1);
set(gca, 'fontsize', fs);
set(gca, 'LineWidth', lw2);
hold on;
M = 0.5;
Y = exp(M*f);
Z = exp(M*g);
plot(X, Z, 'r', 'linewidth', lw);
plot(X, Y, 'b', 'linewidth', lw);
R = max(Z);
axis([-L, L, 0, q*R]);
subplot(2, 3, 4);
set(gca, 'fontsize', fs);
set(gca, 'LineWidth', lw2);
hold on;
M = 3;
Y = exp(M*f);
Z = exp(M*g);
plot(X, Z, 'r', 'linewidth', lw);
plot(X, Y, 'b', 'linewidth', lw);
R = max(Z);
axis([-L, L, 0, q*R]);
saveas(gcf, 'Laplaces_method.eps', 'psc2');
% Converted from eps to png with the formula
% convert -antialias -density 200 Laplaces_method.eps Laplaces_method.png
Licensing
[edit]Public domainPublic domainfalsefalse |
![]() |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:15, 23 May 2009 | ![]() | 406 × 1,036 (23 KB) | Oleg Alexandrov (talk | contribs) | a little bigger font |
21:14, 23 May 2009 | ![]() | 397 × 1,028 (22 KB) | Oleg Alexandrov (talk | contribs) | smaller font | |
21:00, 23 May 2009 | ![]() | 417 × 1,044 (24 KB) | Oleg Alexandrov (talk | contribs) | {{Information |Description={{en|1=Illustration of method of steepest descent}} |Source=self-made with Matlab |Author=Oleg Alexandrov |Date=~~~~~ |Permission= |other_versions= }} <!--{{ImageUploa |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.