matlab rand(1,2)
时间: 2023-09-26 14:10:37 浏览: 94
randMat:在给定范围内均匀生成随机数或匹配给定正态分布-matlab开发
在Matlab中,rand(1,2)用于生成一个1行2列的随机数矩阵。这个函数会生成0到1之间的伪随机数。例如,运行rand(1,2)可能会得到这样的结果。 [2 [3<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [matlab:生成随机数](https://blog.csdn.net/kaever/article/details/107752761)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [matlab中的rng函数](https://blog.csdn.net/qq_42537872/article/details/127278589)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Matlab中随机数rand等的用法](https://blog.csdn.net/tyx_barry/article/details/105556395)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文