MATLAB randn函数
时间: 2023-10-23 13:04:04 浏览: 103
randn函数是MATLAB中用于生成服从均值为0,方差为1的正态分布的随机数的函数。该函数的语法为X = randn(sz1,...,szN),其中sz1,...,szN指示每个维度的大小,返回一个由随机数组成的sz1×...×szN数组。可以通过添加参数typename指定返回的随机数的数据类型,可以是'single'或'double'。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [MATLAB之rand系列函数使用方法小析](https://blog.csdn.net/weixin_46596508/article/details/107214997)[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]
- *2* *3* [matlab函数之randn()](https://blog.csdn.net/lmx11040101/article/details/117605450)[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]
[ .reference_list ]
阅读全文