The probability of failure of a simply supported beam is estimated by means of MCS. Two computations are performed:
1. Using simple MCS
2. Using parallel computing 'parpool'
Finally, a graph showing the failure probability curves is obtained
Felipe Uribe (2021). Monte Carlo simulation (simple and parallel) (https://www.mathworks.com/matlabcentral/fileexchange/34823-monte-carlo-simulation-simple-and-parallel), MATLAB Central File Exchange. Retrieved .
Thanks for the info Ryan.
Learning parallel computing in MATLAB is one of the points on my to-do list, I hope to post later an improved code using this advantage.
This is a pretty cool demo. You could utilize parallel computing to speed it up and use more than 10 runs in a reasonable amount of time since Monte Carlo achieves better results with more runs.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!