{"id":6986,"date":"2022-06-20T13:17:52","date_gmt":"2022-06-20T04:17:52","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=6986"},"modified":"2022-06-22T13:43:07","modified_gmt":"2022-06-22T04:43:07","slug":"story-of-randomness","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2022\/06\/20\/story-of-randomness\/","title":{"rendered":"[6 3 7 8 5 1 2 4 9 10] \u2013 \u201d\u4e71\u6570\u201d\u306b\u307e\u3064\u308f\u308b\u30b9\u30c8\u30fc\u30ea\u30fc"},"content":{"rendered":"<div class=\"rtcContent\">\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u203b\u3053\u306e\u6295\u7a3f\u306f 2022 \u5e74 6 \u6708 7 \u65e5\u306b The MATLAB blog (<a class=\"author_inline\" href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/20789457?s_tid=blg_to_profile\" data-locale-id=\"ja\">Mike Croucher<\/a>) \u306b<a href=\"https:\/\/blogs.mathworks.com\/matlab\/2022\/06\/07\/6-3-7-8-5-1-2-4-9-10-or-a-story-of-surprise-about-randomness\/\">\u6295\u7a3f<\/a>\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<hr \/>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">3\u6708\u4e0b\u65ec\u3001 MATLAB \u306e\u4e71\u6570\u51e6\u7406\u306b\u3064\u3044\u3066Tom Rhys Marshall \u3055\u3093\u304c\u4f55\u304b\u6c17\u304c\u4ed8\u3044\u305f\u3088\u3046\u3067\u3059\u3002<\/div>\n<blockquote class=\"twitter-tweet\">\n<p dir=\"ltr\" lang=\"en\">Matlab folks: Could you do me a favour please?<\/p>\n<p>Open a **brand new session** of matlab<br \/>\nType &#8216;randperm(10)&#8217;<br \/>\nPost the output as a reply, ideally with version number and OS<\/p>\n<p>This is definitely going to be fun and you are not going to be horrified.<\/p>\n<p>\u2014 Tom Rhys Marshall (@TomRhysMarshall) <a href=\"https:\/\/twitter.com\/TomRhysMarshall\/status\/1508747937119191043?ref_src=twsrc%5Etfw\" class=\"external\" rel=\"nofollow\" target=\"_blank\">March 29, 2022<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-family: monospace;\">randperm<\/span> \u306f\u30e9\u30f3\u30c0\u30e0\u306a\u6574\u6570\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3001\u4f8b\u3048\u3070 <span style=\"font-family: monospace;\">randperm(10)<\/span> \u306f 1 \u304b\u3089 10 \u307e\u3067\u306e\u3059\u3079\u3066\u306e\u6574\u6570\u3092\u30e9\u30f3\u30c0\u30e0\u306a\u9806\u756a\u3067\u8fd4\u3057\u307e\u3059\u3002\u65b0\u305f\u306b\u7acb\u3061\u4e0a\u3052\u305f MATLAB \u3067\u5b9f\u884c\u3059\u308b\u3068\u3053\u306e\u300c\u30e9\u30f3\u30c0\u30e0\u306a\u300d\u9806\u756a\u306f\u5e38\u306b\u540c\u3058\u3067\u3059\u3002<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 0 10px 0;\">\n<div class=\"inlineWrapper outputs\">\n<div style=\"border-radius: 4px 4px 0px 0px; padding: 6px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; border: 1px solid #bfbfbf;\"><span style=\"white-space: pre;\">randperm(10)<\/span><\/div>\n<div style=\"color: #212121; padding: 10px 0px 6px 17px; background: #ffffff none repeat scroll 0% 0% \/ auto padding-box border-box; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; overflow-x: hidden; line-height: 17.234px;\">\n<div class=\"inlineElement eoOutputWrapper embeddedOutputsVariableMatrixElement\" style=\"width: 1146px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\" data-testid=\"output_0\" data-width=\"1116\">\n<div class=\"matrixElement veSpecifier saveLoad eoOutputContent\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"veVariableName variableNameElement double\" style=\"width: 1116px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"headerElementClickToInteract\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><span style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">ans = <\/span><span class=\"veVariableValueSummary veMetaSummary\" style=\"white-space: normal; font-style: normal; color: #b3b3b3; font-size: 12px;\">1\u00d710<\/span><\/div>\n<\/div>\n<div class=\"valueContainer\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\" data-layout=\"{&quot;columnWidth&quot;:40,&quot;totalColumns&quot;:&quot;10&quot;,&quot;totalRows&quot;:&quot;1&quot;,&quot;charsPerColumn&quot;:6}\">\n<div class=\"variableValue\" style=\"width: 402px; white-space: pre; font-style: normal; color: #212121; font-size: 12px;\">6 3 7 8 5 1 2 4 9 10<\/div>\n<div class=\"horizontalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"verticalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<div class=\"outputLayer selectedOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer activeOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer scrollableOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">Tom \u3055\u3093\u306a\u3069\u304c\u6307\u6458\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u4e16\u306e\u4e2d\u306b\u306f\u3001\u300c\u305d\u3089\u305d\u3046\u3067\u3057\u3087\u3046\u300d\u3068\u3044\u3046\u4eba\u3068\u300c\u307e\u3058\u304b\u30fb\u30fb\u77e5\u3089\u306a\u304b\u3063\u305f\u300d\u3068\u5fc3\u914d\u3057\u3066\u3044\u308b\u4eba\u306b\u5206\u304b\u308c\u308b\u69d8\u3067\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<blockquote class=\"twitter-tweet\">\n<p dir=\"ltr\" lang=\"en\">It seems the world is divided into:<\/p>\n<p>People who thought this is commonly known<br \/>\nPeople who don&#8217;t know it<\/p>\n<p>\ud83d\ude43<\/p>\n<p>\u2014 Tom Rhys Marshall (@TomRhysMarshall) <a href=\"https:\/\/twitter.com\/TomRhysMarshall\/status\/1508790183210233857?ref_src=twsrc%5Etfw\" class=\"external\" rel=\"nofollow\" target=\"_blank\">March 29, 2022<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<h1><\/h1>\n<h1 style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-weight: bold;\">\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4f5c\u308b\u4e71\u6570\u306f\u30e9\u30f3\u30c0\u30e0\u3067\u306f\u306a\u3044\u30fb\u30fb<\/span><\/h1>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">MATLAB \u3084 Python\u3001R \u306b\u304a\u3051\u308b\u4e71\u6570\u306f\u3001\u7d14\u7c8b\u306a\u610f\u5473\u3067\u306e\u4e71\u6570\u3067\u306f\u306a\u304f\u5b8c\u5168\u306b\u6c7a\u5b9a\u8ad6\u7684\u3067\u3059\u3002\u305f\u3060\u3001\u3053\u308c\u3089\u306e\u300c\u7591\u4f3c\u4e71\u6570\u300d\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u8fd4\u3059\u6570\u5024\u306f\u3001\u30c7\u30b6\u30a4\u30f3\u4e0a\u672c\u5f53\u306e\u4e71\u6570\u3068\u540c\u3058\u7d71\u8a08\u91cf\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001<span style=\"font-weight: bold;\">\u6ce8\u610f\u3055\u3048\u3057\u3066\u3044\u308c\u3070<\/span>\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u30fb\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3092\u3001\u3059\u3079\u3066\u304c\u672c\u5f53\u306b\u30e9\u30f3\u30c0\u30e0\u3067\u3042\u308b\u304b\u306e\u3088\u3046\u306b\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u5927\u4e8b\u306a\u3053\u3068\u306a\u306e\u3067\u3082\u3046\u4e00\u5ea6\u8a00\u3044\u307e\u3059\u3088\u3002<span style=\"font-weight: bold;\">\u6700\u8fd1\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30fb\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u300c\u4e71\u6570\u300d\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306f\u3001\u5b8c\u5168\u306b\u6c7a\u5b9a\u8ad6\u7684\u3067\u3059\u3002<\/span>\u3082\u3057\u3001\u4e71\u6570\u3092\u4f7f\u3063\u3066\u4f55\u304b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u306a\u3089\u3001\u9045\u304b\u308c\u65e9\u304b\u308c\u3076\u3064\u304b\u308b\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u306d\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u9577\u3044\u9593\u3001MATLAB \u306e\u4e71\u6570\u751f\u6210\u5668\u306f <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mersenne_Twister\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Mersenne Twister<\/a> \u3068\u547c\u3070\u308c\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u3002MathWorks \u306e\u3053\u306e\u5b9f\u88c5\u306f\u3001\u4ed6\u306e\u591a\u304f\u306e\u5b9f\u88c5\u3068\u540c\u69d8\u306b\u3001\u8a2d\u5b9a\u3055\u308c\u305f\u300c\u30b7\u30fc\u30c9\u300d\u306b\u5fdc\u3058\u3066\u7570\u306a\u308b\u4e71\u6570\u30bb\u30c3\u30c8\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u30b7\u30fc\u30c9\u306f\u6574\u6570\u3067\u3001<span style=\"font-family: monospace;\">rng()<\/span> \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u304c\u3001MATLAB \u3092\u8d77\u52d5\u3057\u305f\u3068\u304d\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30b7\u30fc\u30c9\u306f 0 \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 0 10px 0;\">\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 1px solid #bfbfbf; border-bottom: 0px none #212121; border-radius: 4px 4px 0px 0px; padding: 6px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">rng(0)<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper outputs\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 0px none #212121; border-bottom: 1px solid #bfbfbf; border-radius: 0px; padding: 0px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">randperm(10)<\/span><\/div>\n<div style=\"color: #212121; padding: 10px 0px 6px 17px; background: #ffffff none repeat scroll 0% 0% \/ auto padding-box border-box; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; overflow-x: hidden; line-height: 17.234px;\">\n<div class=\"inlineElement eoOutputWrapper embeddedOutputsVariableMatrixElement\" style=\"width: 1146px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\" data-testid=\"output_1\" data-width=\"1116\">\n<div class=\"matrixElement veSpecifier saveLoad eoOutputContent\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"veVariableName variableNameElement double\" style=\"width: 1116px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"headerElementClickToInteract\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><span style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">ans = <\/span><span class=\"veVariableValueSummary veMetaSummary\" style=\"white-space: normal; font-style: normal; color: #b3b3b3; font-size: 12px;\">1\u00d710<\/span><\/div>\n<\/div>\n<div class=\"valueContainer\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\" data-layout=\"{&quot;columnWidth&quot;:40,&quot;totalColumns&quot;:&quot;10&quot;,&quot;totalRows&quot;:&quot;1&quot;,&quot;charsPerColumn&quot;:6}\">\n<div class=\"variableValue\" style=\"width: 402px; white-space: pre; font-style: normal; color: #212121; font-size: 12px;\">6 3 7 8 5 1 2 4 9 10<\/div>\n<div class=\"horizontalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"verticalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<div class=\"outputLayer selectedOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer activeOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer scrollableOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u3082\u3061\u308d\u3093\u9055\u3046\u30b7\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u7d50\u679c\u3082\u9055\u3044\u307e\u3059\u3002<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 0 10px 0;\">\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 1px solid #bfbfbf; border-bottom: 0px none #212121; border-radius: 4px 4px 0px 0px; padding: 6px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">rng(1)<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper outputs\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 0px none #212121; border-bottom: 1px solid #bfbfbf; border-radius: 0px; padding: 0px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">randperm(10)<\/span><\/div>\n<div style=\"color: #212121; padding: 10px 0px 6px 17px; background: #ffffff none repeat scroll 0% 0% \/ auto padding-box border-box; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; overflow-x: hidden; line-height: 17.234px;\">\n<div class=\"inlineElement eoOutputWrapper embeddedOutputsVariableMatrixElement\" style=\"width: 1146px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\" data-testid=\"output_2\" data-width=\"1116\">\n<div class=\"matrixElement veSpecifier saveLoad eoOutputContent\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"veVariableName variableNameElement double\" style=\"width: 1116px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"headerElementClickToInteract\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><span style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">ans = <\/span><span class=\"veVariableValueSummary veMetaSummary\" style=\"white-space: normal; font-style: normal; color: #b3b3b3; font-size: 12px;\">1\u00d710<\/span><\/div>\n<\/div>\n<div class=\"valueContainer\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\" data-layout=\"{&quot;columnWidth&quot;:40,&quot;totalColumns&quot;:&quot;10&quot;,&quot;totalRows&quot;:&quot;1&quot;,&quot;charsPerColumn&quot;:6}\">\n<div class=\"variableValue\" style=\"width: 402px; white-space: pre; font-style: normal; color: #212121; font-size: 12px;\">3 6 5 7 4 8 9 1 10 2<\/div>\n<div class=\"horizontalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"verticalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<div class=\"outputLayer selectedOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer activeOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer scrollableOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u300c\u3088\u308a\u30e9\u30f3\u30c0\u30e0\u300d\u306a\u6570\u5b57\u3092\u5f97\u308b\u305f\u3081\u306b\u306f\u30b7\u30fc\u30c9\u306b\u4f55\u304b\u51dd\u3063\u305f\u3053\u3068\u3092\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u30fb\u30fb\u3068\u601d\u308f\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5358\u7d14\u306a\u4e71\u6570\u306e\u4f7f\u3044\u65b9\u3067\u3042\u308c\u3070\u3001\u3069\u3093\u306a\u6574\u6570\u3067\u3082\u5927\u4e08\u592b\u3067\u3059\uff08<a href=\"https:\/\/jp.mathworks.com\/help\/parallel-computing\/control-random-number-streams-on-workers.html\">\u65e2\u5b9a\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30ef\u30fc\u30ab\u30fc\u306f\u7570\u306a\u308b\u4e71\u6570\u767a\u751f\u5668\u3092\u4f7f\u7528\u3059\u308b<\/a>\u306e\u3067\u3001\u4e26\u5217\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u6271\u3046\u5834\u5408\u306f\u3084\u3084\u3053\u3057\u304f\u306a\u308a\u307e\u3059\u304c\u30fb\u30fb\u8a73\u7d30\u306f\u6700\u5f8c\u307e\u3068\u3081\u305f\u95a2\u9023\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<div><\/div>\n<div class=\"rtcContent\">\n<h1 style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-weight: bold;\">A design choice: MATLAB \u7acb\u3061\u4e0a\u3052\u6642\u306e\u30b7\u30fc\u30c9\u306f\u306a\u306b\u3067\u3042\u308b\u3079\u304d\u304b\uff1f<\/span><\/h1>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">Tom \u3055\u3093\u306e<a href=\"https:\/\/twitter.com\/TomRhysMarshall\/status\/1508747937119191043\" class=\"external\" rel=\"nofollow\" target=\"_blank\">\u30c4\u30a4\u30fc\u30c8\u3078\u306e\u8fd4\u4fe1<\/a>\u3092\u898b\u308b\u3068\u3001\u4ed6\u306e\u8a00\u8a9e\u3067\u306f MATLAB \u3068\u306f\u9055\u3046\u52d5\u4f5c\u3092\u3059\u308b\u3053\u3068\u304c\u6307\u6458\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Python \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306f\u3001\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\uff08\u304a\u305d\u3089\u304f\uff09\u7570\u306a\u308b\u4e71\u6570\u3092\u8fd4\u3059\u3068\u304b\u3002\u3053\u308c\u306f MATLAB \u3088\u308a\u3082\u30e9\u30f3\u30c0\u30e0\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u30b7\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u7570\u306a\u308b\u304b\u3089\u3067\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u8d77\u52d5\u6642\u306e\u30b7\u30fc\u30c9\u8a2d\u5b9a\u65b9\u6cd5\u3068\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u6642\u523b\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u8d77\u52d5\u6642\u306e\u6642\u523b\u3092\u5229\u7528\u3057\u3066\u6574\u6570\u3092\u751f\u6210\u3057\u3001\u3053\u308c\u3092\u30b7\u30fc\u30c9\u3068\u3057\u3066\u5229\u7528\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u30b7\u30b9\u30c6\u30e0\u3092\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\u3001\u7570\u306a\u308b\u30b7\u30fc\u30c9\u3001\u3064\u307e\u308a\u7570\u306a\u308b\u4e71\u6570\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002MATLAB \u3067\u3082 <span style=\"font-family: monospace;\">rng(&#8220;shuffle&#8221;)<\/span> \u3092\u4f7f\u3048\u3070\u3067\u304d\u307e\u3059\u3002<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 0 10px 0;\">\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 1px solid #bfbfbf; border-bottom: 0px none #212121; border-radius: 4px 4px 0px 0px; padding: 6px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">rng(<span style=\"color: #a709f5;\">&#8220;shuffle&#8221;<\/span>) <span style=\"color: #008013;\">% Use the system clock to set the seed<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper outputs\">\n<div style=\"border-left: 1px solid #bfbfbf; border-right: 1px solid #bfbfbf; border-top: 0px none #212121; border-bottom: 1px solid #bfbfbf; border-radius: 0px; padding: 0px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">randperm(10)<\/span><\/div>\n<div style=\"color: #212121; padding: 10px 0px 6px 17px; background: #ffffff none repeat scroll 0% 0% \/ auto padding-box border-box; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; overflow-x: hidden; line-height: 17.234px;\">\n<div class=\"inlineElement eoOutputWrapper embeddedOutputsVariableMatrixElement\" style=\"width: 1146px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\" data-testid=\"output_3\" data-width=\"1116\">\n<div class=\"matrixElement veSpecifier saveLoad eoOutputContent\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"veVariableName variableNameElement double\" style=\"width: 1116px; white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">\n<div class=\"headerElementClickToInteract\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><span style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\">ans = <\/span><span class=\"veVariableValueSummary veMetaSummary\" style=\"white-space: normal; font-style: normal; color: #b3b3b3; font-size: 12px;\">1\u00d710<\/span><\/div>\n<\/div>\n<div class=\"valueContainer\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\" data-layout=\"{&quot;columnWidth&quot;:40,&quot;totalColumns&quot;:&quot;10&quot;,&quot;totalRows&quot;:&quot;1&quot;,&quot;charsPerColumn&quot;:6}\">\n<div class=\"variableValue\" style=\"width: 402px; white-space: pre; font-style: normal; color: #212121; font-size: 12px;\">7 4 5 6 1 3 9 2 10 8<\/div>\n<div class=\"horizontalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"verticalEllipsis hide\" style=\"white-space: nowrap; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<div class=\"outputLayer selectedOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer activeOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<div class=\"outputLayer scrollableOutputDecorationLayer doNotExport\" style=\"white-space: normal; font-style: normal; color: #212121; font-size: 12px;\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">Twitter \u3067\u3082\u591a\u304f\u306e\u4eba\u304c\u305d\u3046\u4e3b\u5f35\u3057\u3066\u3044\u308b\u901a\u308a\u3001\u3053\u306e\u65b9\u6cd5\u306e\u65b9\u304c\u8d77\u52d5\u6642\u306b\u5e38\u306b\u540c\u3058\u30b7\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\uff08MATLAB \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\uff09\u3088\u308a\u3082\u512a\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u8b70\u8ad6\u3082\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070\u30fb\u30fb<\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\">\u3088\u308a\u30e9\u30f3\u30c0\u30e0\u3067\u3042\u308b\uff08\u78ba\u304b\u306b\u6bce\u56de\u9055\u3046\u3002\u3053\u308c\u306f\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u306a\u3044\u3057\u3001\u7acb\u305f\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\uff09<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\">2 \u56de\u5b9f\u884c\u3057\u3066\u305d\u308c\u305e\u308c\u300c\u72ec\u7acb\u3057\u305f\u300d\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u308b (\u305f\u3076\u3093\u3002\u5b9f\u969b\u306b\u306f\u3053\u306e\u65b9\u6cd5\u3067\u4f5c\u3089\u308c\u305f2\u3064\u306e\u914d\u5217\u304c\u7d71\u8a08\u7684\u306b\u72ec\u7acb\u3067\u3042\u308b\u3068\u3044\u3046\u6570\u5b66\u7684\u306a\u4fdd\u8a3c\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u304a\u305d\u3089\u304f\u3046\u307e\u304f\u3044\u304f\u3067\u3057\u3087\u3046)<\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u904e\u53bb\u306e\u3042\u308b\u6642\u70b9\u3067 MathWorks \u3067\u306f\u3001\u3082\u308d\u3082\u308d\u306e\u61f8\u5ff5\u4e8b\u9805\u3088\u308a\u3082\u300c\u518d\u73fe\u6027\u3092\u91cd\u8996\u3059\u308b\u300d\u8a2d\u8a08\u4e0a\u306e\u6c7a\u5b9a\u304c\u306a\u3055\u308c\u307e\u3057\u305f\u3002\u4e71\u6570\u751f\u6210\u5668\u306e\u30b7\u30fc\u30c9\u306b\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\uff08\u5b9f\u969b\u306b\u4f7f\u7528\u3055\u308c\u305f\u30b7\u30fc\u30c9\u3092\u8a18\u9332\u3067\u304d\u305a\uff09\u518d\u73fe\u6027\u306b\u306f\u5b09\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u3082\u3057\u5fc5\u8981\u3067\u3042\u308c\u3070 <span style=\"font-family: monospace;\">rng(&#8220;shuffle&#8221;)<\/span> \u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u3067\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<div><\/div>\n<div class=\"rtcContent\">\n<h1 style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-weight: bold;\">Bug report: \u300c\u4e71\u6570\u300d\u304c\u9055\u3046\u30fb\u30fb<\/span><\/h1>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">2008 \u5e74\u306b MATLAB \u3067\u4f7f\u7528\u3059\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u5909\u66f4\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30c6\u30b9\u30c8\u306b\u5931\u6557\u30fb\u30fb\u591a\u304f\u306e\u30d0\u30b0\u30ec\u30dd\u30fc\u30c8\u304c\u5bc4\u305b\u3089\u308c\u307e\u3057\u305f\u3002\u4e00\u90e8\u306e\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092<span style=\"font-weight: bold;\">\u6b63\u78ba\u306b\u518d\u73fe\u53ef\u80fd\u306a\u4e71\u6570<\/span>\u3067\u691c\u8a3c\u3057\u3066\u3044\u305f\u306e\u3067\u4e71\u6570\u306e\u5909\u66f4\u306f\u5927\u554f\u984c\u3067\u3057\u305f\u3002\u3082\u3061\u308d\u3093\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3084\u30b7\u30fc\u30c9\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3057\u305f\u304c\u3001\u591a\u304f\u306e\u4eba\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\u3089\u306d\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u3082\u3061\u308d\u3093\u4f55\u767e\u4e07\u4eba\u3082\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u3053\u3068\u3092\u8003\u3048\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u306e\u5909\u66f4\u306f\u8efd\u3005\u3057\u304f\u3067\u304d\u308b\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3001\u53e4\u3044\u4e71\u6570\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u6839\u672c\u7684\u306a\u554f\u984c\u304c\u3042\u3063\u305f\u305f\u3081\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5909\u66f4\u3092\u4f59\u5100\u306a\u304f\u3055\u308c\u307e\u3057\u305f\u3002Mersenne Twister \u306f\u305d\u306e\u554f\u984c\u3092\u4fee\u6b63\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u307e\u3057\u305f\u30022022 \u5e74\u73fe\u5728\u3001Mersenne Twister \u306f\u4f9d\u7136\u3068\u3057\u3066\u591a\u304f\u306e\u4f5c\u696d\u306b\u304a\u3044\u3066\u512a\u308c\u305f\u9078\u629e\u80a2\u3067\u3042\u308a\u3001MathWorks \u306f\u30e6\u30fc\u30b6\u30fc\u304c\u7570\u306a\u308b\u3082\u306e\u3092\u5fc5\u8981\u3068\u3059\u308b\u5834\u5408\u306b\u5099\u3048\u3066\u3001\u3044\u304f\u3064\u304b\u306e\u8ffd\u52a0\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<div><\/div>\n<div class=\"rtcContent\">\n<h1 style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-weight: bold;\">My story: \u6642\u523b\u3092\u30b7\u30fc\u30c9\u306b\u3059\u308b\u3053\u3068\u304c\u5fc5\u305a\u3057\u3082\u826f\u3044\u30a2\u30a4\u30c7\u30a2\u3067\u306f\u306a\u3044\u7406\u7531<\/span><\/h1>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u305d\u306e\u6614\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4e71\u6570\u51e6\u7406\u306b\u3064\u3044\u3066\u77e5\u308b\u524d\u306e\u3053\u3068\u3002\u30de\u30f3\u30c1\u30a7\u30b9\u30bf\u30fc\u5927\u5b66\u306e\u30ae\u30fc\u30af\u96c6\u56e3\u306e\u4e00\u54e1\u3060\u3063\u305f\u79c1\u306f\u3001Condor \u3068\u3044\u3046\u6280\u8853\u3092\u4f7f\u3063\u3066\u5927\u5b66\u306e\u3059\u3079\u3066\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30de\u30b7\u30f3\u3092\u305d\u306e\u5834\u9650\u308a\u306e\u30b9\u30fc\u30d1\u30fc\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u5909\u3048\u3066\u3044\u307e\u3057\u305f\u3002\u5f53\u6642\u306e\u57fa\u6e96\u3067\u306f\u3001\u30d4\u30fc\u30af\u6642\u306b\u7d04 5000 \u306e CPU \u30b3\u30a2\u304c\u5229\u7528\u53ef\u80fd\u306a\u304b\u306a\u308a\u5927\u898f\u6a21\u306a\u3082\u306e\u3067\u3057\u305f\u3002\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u63a2\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u305d\u3093\u306a\u6642\u3042\u308b\u7814\u7a76\u8005\u304c\u5b8c\u74a7\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u6301\u3063\u3066\u63a5\u89e6\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u305d\u308c\u306f MATLAB \u3067\u306f\u306a\u3044\u4f55\u304b\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3055\u308c\u305f\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed\u30fb\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3001\u5f7c\u306f\u9031\u672b\u306b\u6570\u5341\u5e74\u5206\u306e CPU \u6642\u9593\u5206\u306e\u8a08\u7b97\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u5f7c\u306f\u305d\u306e\u7d50\u679c\u306b\u3068\u3066\u3082\u6e80\u8db3\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u7d50\u679c\u3092\u541f\u5473\u3057\u59cb\u3081\u308b\u307e\u3067\u306f\u30fb\u30fb\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 PC \u3067\u306f\u3001\u4e88\u60f3\u901a\u308a\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3073\u306b\u7570\u306a\u308b\u7d50\u679c\u304c\u5f97\u3089\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u305f\u3060\u3001\u79c1\u305f\u3061\u306e\u4f5c\u3063\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u540c\u3058\u7d50\u679c\u304c\u4f55\u5ea6\u3082\u51fa\u3066\u304d\u3066\u3044\u307e\u3057\u305f\u3002\u540c\u3058\u7d50\u679c\u304c\u6570\u500b\u51fa\u308b\u3053\u3068\u3082\u3042\u308c\u3070\u3001\u6570\u767e\u500b\u51fa\u308b\u3053\u3068\u3082\u3042\u308a\u3001\u30d1\u30bf\u30fc\u30f3\u3082\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002\u5f53\u6642\u306e\u79c1\u305f\u3061\u306f\u4e71\u6570\u306e\u4ed5\u7d44\u307f\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u5927\u6df7\u4e71\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u79c1\u305f\u3061\u304c\u4f7f\u3063\u3066\u3044\u305f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u540c\u671f\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u591a\u304f\u306e\uff08\u5168\u3066\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\uff09\u30b8\u30e7\u30d6\u306f\u5168\u304f\u540c\u3058\u6642\u523b\u306b\u8d77\u52d5\u3057\u3001\u5168\u304f\u540c\u3058\u30b7\u30fc\u30c9\u3001\u3064\u307e\u308a\u540c\u3058\u4e71\u6570\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u6301\u3064\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u3053\u306e\u30d6\u30ed\u30b0\u306e\u524d\u534a\u3067\u3001<span style=\"font-weight: bold;\">\u300c\u6700\u8fd1\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3084\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30fb\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u300e\u4e71\u6570\u300f\u767a\u751f\u5668\u306f\u3059\u3079\u3066\u5b8c\u5168\u306b\u6c7a\u5b9a\u8ad6\u7684\u3067\u3042\u308b\u300d\u300c\u4e71\u6570\u3092\u4f7f\u3063\u3066\u4f55\u304b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u306a\u3089\u3001\u9045\u304b\u308c\u65e9\u304b\u308c\u3076\u3064\u304b\u308b\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u306d\u300d<\/span>\u3068\u66f8\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u79c1\u304c\u3076\u3064\u304b\u3063\u305f\u6642\u306e\u7d4c\u9a13\u3067\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><\/div>\n<div><\/div>\n<div class=\"rtcContent\">\n<h1 style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-weight: bold;\">\u3082\u3063\u3068\u6df1\u6398\u308a\u3059\u308b\u306b\u306f<\/span><\/h1>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u4e71\u6570\u306f\u4eba\u6c17\u306e\u3042\u308b\u30c8\u30d4\u30c3\u30af\u3067\u3001MATLAB \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3082\u3061\u308d\u3093\u306e\u3053\u3068\u3001\u4f55\u5e74\u306b\u3082\u308f\u305f\u3063\u3066\u3044\u304f\u3064\u304b\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3059\u3002\u3082\u3063\u3068\u6df1\u304f\u6398\u308a\u4e0b\u3052\u305f\u3044\u65b9\u306b\u304a\u52e7\u3081\u306e\u3082\u306e\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/uk.mathworks.com\/help\/matlab\/random-number-generation.html?s_tid=CRUX_lftnav\"><span style=\"text-decoration: underline;\">\u4e71\u6570\u767a\u751f\u5668<\/span><\/a> \u2013 MATLAB \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/uk.mathworks.com\/help\/parallel-computing\/parfor-monte-carlo.html\"><span style=\"text-decoration: underline;\">parfor \u3092\u4f7f\u7528\u3057\u305f\u30e2\u30f3\u30c6\u30ab\u30eb\u30ed \u30b3\u30fc\u30c9\u306e\u9ad8\u901f\u5316<\/span><\/a> \u2013 \u518d\u73fe\u6027\u306e\u3042\u308b\u4e26\u5217\u4e71\u6570\u751f\u6210\u306b\u95a2\u3059\u308b\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/blogs.mathworks.com\/loren\/2008\/11\/05\/new-ways-with-random-numbers-part-i\/\"><span style=\"text-decoration: underline;\">New Ways with Random Numbers Part I<\/span><\/a> &#8211; 2008 \u5e74\u306e\u30d6\u30ed\u30b0\u3002\u4e71\u6570\u751f\u6210\u306b\u95a2\u3059\u308b API \u3092\u6df1\u6398\u308a\u3057\u3066\u3044\u307e\u3059<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/blogs.mathworks.com\/loren\/2008\/11\/13\/new-ways-with-random-numbers-part-ii\/\"><span style=\"text-decoration: underline;\">New Ways with Random Numbers Part 2<\/span><\/a> &#8211; \u4e0a\u306e\u7d9a\u7de8<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/blogs.mathworks.com\/loren\/2011\/07\/07\/simpler-control-of-random-number-generation-in-matlab\/\"><span style=\"text-decoration: underline;\">Simpler control of Random Number Generation in MATLAB<\/span><\/a> &#8211; 2011 \u5e74\u306b\u5c0e\u5165\u3055\u308c\u305f\u7c21\u6613\u7248 API \u306e\u304a\u8a71\u3057<\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/blogs.mathworks.com\/cleve\/2015\/05\/04\/parallel-random-number-generators\/\"><span style=\"text-decoration: underline;\">Parallel Random Number Generators<\/span><\/a> \u2013 2015 \u5e74\u306e\u8a18\u4e8b\u3002\u4e26\u5217\u8a08\u7b97\u7528\u306b\u5c0e\u5165\u3055\u308c\u305f 2 \u3064\u306e\u4e71\u6570\u751f\u6210\u5668<\/li>\n<\/ul>\n<\/div>\n<p><script type=\"text\/javascript\">var css = '.variableValue { width: 100% !important; } .embeddedOutputsMatrixElement,.eoOutputWrapper .matrixElement {    min-height: 18px;    box-sizing: border-box;} .embeddedOutputsMatrixElement .matrixElement,.eoOutputWrapper  .matrixElement,.rtcDataTipElement .matrixElement {    position: relative;} .matrixElement .variableValue,.rtcDataTipElement .matrixElement .variableValue {    white-space: pre;    display: inline-block;    vertical-align: top;    overflow: hidden;} .embeddedOutputsMatrixElement.inlineElement {} .embeddedOutputsMatrixElement.inlineElement .topHeaderWrapper {    display: none;} .embeddedOutputsMatrixElement.inlineElement .veTable .body {    padding-top: 0 !important;    max-height: 100px;} .inlineElement .matrixElement {    max-height: 300px;} .embeddedOutputsMatrixElement.rightPaneElement {} .rightPaneElement .matrixElement,.rtcDataTipElement .matrixElement {    overflow: hidden;    padding-left: 9px;} .rightPaneElement .matrixElement {    margin-bottom: -1px;} .embeddedOutputsMatrixElement .matrixElement .valueContainer,.eoOutputWrapper .matrixElement .valueContainer,.rtcDataTipElement .matrixElement .valueContainer {    white-space: nowrap;    margin-bottom: 3px;} .embeddedOutputsMatrixElement .matrixElement .valueContainer .horizontalEllipsis.hide,.embeddedOutputsMatrixElement .matrixElement .verticalEllipsis.hide,.eoOutputWrapper .matrixElement .valueContainer .horizontalEllipsis.hide,.eoOutputWrapper .matrixElement .verticalEllipsis.hide,.rtcDataTipElement .matrixElement .valueContainer .horizontalEllipsis.hide,.rtcDataTipElement .matrixElement .verticalEllipsis.hide {    display: none;} .embeddedOutputsVariableMatrixElement .matrixElement .valueContainer.hideEllipses .verticalEllipsis, .embeddedOutputsVariableMatrixElement .matrixElement .valueContainer.hideEllipses .horizontalEllipsis {    display:none;} .embeddedOutputsMatrixElement .matrixElement .valueContainer .horizontalEllipsis,.eoOutputWrapper .matrixElement .valueContainer .horizontalEllipsis {    margin-bottom: -3px;} .eoOutputWrapper .embeddedOutputsVariableMatrixElement .matrixElement .valueContainer {    cursor: default !important;} .embeddedOutputsVariableElement {    white-space: pre-wrap;    word-wrap: break-word;    min-height: 18px;    max-height: 250px;    overflow: auto;} .variableElement {} .embeddedOutputsVariableElement.inlineElement {} .inlineElement .variableElement {} .embeddedOutputsVariableElement.rightPaneElement {    min-height: 16px;} .rightPaneElement .variableElement {    padding-top: 2px;    padding-left: 9px;} .outputsOnRight .embeddedOutputsVariableElement.rightPaneElement .eoOutputContent {    \/* Remove extra space allocated for navigation border *\/    margin-top: 0;    margin-bottom: 0;} .variableNameElement {    margin-bottom: 3px;    display: inline-block;} \/* * Ellipses as base64 for HTML export. *\/.matrixElement .horizontalEllipsis,.rtcDataTipElement .matrixElement .horizontalEllipsis {    display: inline-block;    margin-top: 3px;    \/* base64 encoded version of images-liveeditor\/HEllipsis.png *\/    width: 30px;    height: 12px;    background-repeat: no-repeat;    background-image: url(\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAJCAYAAADO1CeCAAAAJUlEQVR42mP4\/\/8\/A70xw0i29BUDFPxnAEtTW37wWDqakIa4pQDvOOG89lHX2gAAAABJRU5ErkJggg==\");} .matrixElement .verticalEllipsis,.textElement .verticalEllipsis,.rtcDataTipElement .matrixElement .verticalEllipsis,.rtcDataTipElement .textElement .verticalEllipsis {    margin-left: 35px;    \/* base64 encoded version of images-liveeditor\/VEllipsis.png *\/    width: 12px;    height: 30px;    background-repeat: no-repeat;    background-image: url(\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAZCAYAAAAIcL+IAAAALklEQVR42mP4\/\/8\/AzGYgWyFMECMwv8QddRS+P\/\/KyimlmcGUOFoOI6GI\/UVAgDnd8Dd4+NCwgAAAABJRU5ErkJggg==\");}'; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script><a><button class=\"btn btn-sm btn_color_blue pull-right add_margin_10\">Download Live Script<\/button><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2022\/06\/randomSuprise_JP_1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>\n\u203b\u3053\u306e\u6295\u7a3f\u306f 2022 \u5e74 6 \u6708 7 \u65e5\u306b The MATLAB blog (Mike Croucher) \u306b\u6295\u7a3f\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<\/p>\n<p>3\u6708\u4e0b\u65ec\u3001 MATLAB \u306e\u4e71\u6570\u51e6\u7406\u306b\u3064\u3044\u3066Tom Rhys Marshall \u3055\u3093\u304c\u4f55\u304b\u6c17\u304c\u4ed8\u3044\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>Matlab folks: Could you do me a favour please?<br \/>\nOpen a **brand new&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2022\/06\/20\/story-of-randomness\/\">read more >><\/a><\/p>\n","protected":false},"author":159,"featured_media":6977,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[49,61],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/6986"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/users\/159"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/comments?post=6986"}],"version-history":[{"count":13,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/6986\/revisions"}],"predecessor-version":[{"id":7025,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/6986\/revisions\/7025"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media\/6977"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=6986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=6986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=6986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}