Skip to content

This MATLAB code implements the classical Monte Carlo method for solving partial differential equations (PDEs). The code uses the log function of the norm of a random vector as an example PDE and computes the solution at time T=1 and initial condition x0=0.

License

Notifications You must be signed in to change notification settings

Mephistopheles-0/Classical-Monte-Carlo-Method-for-PDEs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Classical Monte Carlo Method for PDEs

This MATLAB code implements the classical Monte Carlo method for solving partial differential equations (PDEs). The code uses the log function of the norm of a random vector as an example PDE and computes the solution at time T=1 and initial condition x0=0.

To run the code, simply run the MonteCarlo_Matlab function. The code will output the solution at the initial and final times, as well as the runtime of the code.

Dependencies

This code does not require any external dependencies.

License

This code is released under the MIT License

About

This MATLAB code implements the classical Monte Carlo method for solving partial differential equations (PDEs). The code uses the log function of the norm of a random vector as an example PDE and computes the solution at time T=1 and initial condition x0=0.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages