File:Laplaces method.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (406 × 1,036 pixels, file size: 23 KB, MIME type: image/png)

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.

In other languages
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Summary

[edit]
Description
English: Illustration of the method of steepest descent
Date (UTC)
Source self-made with Matlab
Author Oleg Alexandrov
Permission
(Reusing this file)
Public domain
 
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 domain 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/TimeThumbnailDimensionsUserComment
current21:15, 23 May 2009Thumbnail for version as of 21:15, 23 May 2009406 × 1,036 (23 KB)Oleg Alexandrov (talk | contribs)a little bigger font
21:14, 23 May 2009Thumbnail for version as of 21:14, 23 May 2009397 × 1,028 (22 KB)Oleg Alexandrov (talk | contribs)smaller font
21:00, 23 May 2009Thumbnail for version as of 21:00, 23 May 2009417 × 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

There are no pages that use this file.