Drift Diffusion Process
This is a optimized simulation of the drift diffusion process (DDP, as described, for example, here http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2474742/). I used a mixture of for loops and cumsum to obtain high speed.
The same code can be used to have a diffusion process without drift across trial, a binary DDP, a one-choice DDP, a one choice pure diffusion process.
Citation pour cette source
Valerio Biscione (2024). Drift Diffusion Process (https://www.mathworks.com/matlabcentral/fileexchange/48787-drift-diffusion-process), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Quantile Probability Plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |