Archiv der Kategorie Uncategorized

Review of a Course at the Iversity

I recently followed a course about „Monte-Carlo methods in finance“ on Iversity done by Alberto Suaréz. I did that to learn about online courses in general and specifically at Iversity, to learn about the Black-Scholes model in finance and the fair … Weiterlesen

22. April 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Simulating Jumps in EMT

I promised to show how distributions with discrete jumps can be simulated. The easiest way is to use a fine granularity dt of time. If we assume that n events occur during a time length 1, then we get the … Weiterlesen

06. April 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

EMT – Version 2014-03-03

This version features some changes in the plot routines. First of all, there is now an easy way to use GnuPlot. I posted an example in the previous announcement. Here is another one. >&plot3d(atan(-x^2+y^3/4),[x,-4,4],[y,-4,4],[grid,50,50],[gnuplot_pm3d,true]): Here is the same plot in … Weiterlesen

03. März 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Log Normal Distribution

Someone asked me how to generate and compare log-normal distributed data. Here is a short program. >data=exp(normal(1000)); … >d=0.2; {x,y}=histo(data,v=0:d:10); … >plot2d(x,y/1000/d,>bar,fillcolor=lightgray); … >plot2d(„qnormal(ln(x))/x“,epsilon,10,color=red,thickness=3,>add): The simulated data can easily be generated by taking the exponential of normal distributed data. The … Weiterlesen

24. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-19

I extended the function color() so that it accepts vectors of colors. These vectors are used by line plots or marker plots with matrices. Each row of the matrix is plotted with a different color. >x=linspace(0,1,200); y=x^(1:10)‘; plot2d(x,y,color=1:10): The trick … Weiterlesen

19. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-18

One user pointed me to the old fashioned style in vectorfield() and vectorfield2(). I changed that. It is now possible to directly use some options just as in plot2d(), or to return the data only and later plot with plot2d(). … Weiterlesen

18. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox for Linux

As some of you know EMT will run in Linux under Wine. The graphics is now on par with Windows, since I use my own smoothing routine. But the status bar is missing, there is not 64bit version, the configuration … Weiterlesen

13. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-02-10

In the new version I have improved the anti-aliasing of images, and apply it to the images in the graphics window too. Computers are now fast enough to support this. Here is an example. The old version used the Windows … Weiterlesen

10. Februar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Euler Math Toolbox 2014-24-01

For this version, I changed the default appearance of the plots. Now, there is enough computing power for larger and finer plots. Changes include thinner lines and points normal font darker text and grids larger inserted images in notebooks another … Weiterlesen

24. Januar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

Happy New Year!

Happy New Year to everybody! This math firework has been done with >function plotfirework () … $fullwindow(); setplot(-1,1,-1.5,0.5); clg; $barcolor(rgb(0.2,0.2,0.2)); barstyle(„#“); plotbar(-2,-2,4,4); $n=200; phi=random(1,n)*2pi; $t=0:0.01:1; $loop 1 to n; $ c=random(3,1); c=rgb(c[1],c[2],c[3]); $ d=0.9+random()*0.1; $ plot2d(d*t*cos(phi[#]),d*t*sin(phi[#])-t^2/2, .. $ style=“-„,color=c,>add); $end; … Weiterlesen

03. Januar 2014 von mga010
Kategorien: Uncategorized | Schreibe einen Kommentar

← Ältere Artikel

Neuere Artikel →