Random Vectors with Fixed Sum (algorithm of Roger Stafford)
4 ビュー (過去 30 日間)
古いコメントを表示
Dear Matlab users,
on http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum/content/randfixedsum.m, a function is provided by Roger Stafford to randomly and uniformly generate vectors with a specified sum and values in a specified interval.
I would like to use this function in paper, and wonder whether the proposed algorithm/function has previously been described/documented in the literature, so that I can properly cite it. (I tried to directly contact Roger Stafford, but the provided email address no longer exists)
Thank you very much in advance for your response,
Kind Regards, Wim
0 件のコメント
採用された回答
Jos (10584)
2014 年 3 月 21 日
I would cite the function as a website. Something like this suffices, I think:
R. Stafford (2006). RandfixedSum, Matlab File Exchange #9700, http://www.mathworks.com/matlabcentral/fileexchange/9700
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!