Does Matlab have a library for Monte Carlo integration
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have been doing some reading and I cannot seem to find a simple to use matlab library to do Monte Carlo integration in n dimentions. For my needs I want to integrate a function over a n dimentional square.
Thank you very much for the inputs and ideas.
0 件のコメント
回答 (1 件)
John D'Errico
2021 年 6 月 29 日
編集済み: John D'Errico
2021 年 6 月 29 日
Do they have a "library"? Not really what I would call a "library". Maybe you might. But why would they? They offer random number generation functions, which is all you need. In this case, all you need is the function RAND. RAND can generate sets of points that lie uniformly inside an n-dimensional square.
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!