Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Easy algorithm to generate a Metropolis-Hastings Monte Carlo Markov chain that, given a probability density function (pdf), generate a Markow chain. The function enables the user to select the pdf, using a function handler @(x), and it enables to choose a sampler between uniform and gaussian. The example code also shows how to plot the Markow process just generated and it enables to convert the process into a cool video where you can follow the behaviour of your MCMC.
Make sure to read the comments inside the functions.
Citar como
Eugenio Bertolini (2026). Metropolis-Hastings Monte Carlo Markov chain algorithm (https://es.mathworks.com/matlabcentral/fileexchange/78017-metropolis-hastings-monte-carlo-markov-chain-algorithm), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.1 (5,38 MB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión desde R2019b
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
