帮助中心帮助中心
本页翻译不是最新的。点击此处可查看最新英文版本。
瑞利概率密度函数
Y = raylpdf(X,B)
Y = raylpdf(X,B) 使用对应的尺度参数 B 计算在 X 中每个值处的瑞利 pdf 值。X 和 B 可以是向量、矩阵或多维数组,它们都具有相同的大小,这也是 Y 的大小。X 或 B 的一个标量输入扩展为其维数与另一个输入的维数相同的常量数组。
B
X
Y
瑞利 pdf 为
y=f(x|b)=xb2e(−x22b2)
全部折叠
用参数 B = 0.5 计算瑞利分布的 pdf。
B = 0.5
x = [0:0.01:2]; p = raylpdf(x,0.5);
绘制 pdf。
figure; plot(x,p)
此函数完全支持 GPU 数组。有关详细信息,请参阅Run MATLAB Functions on a GPU (Parallel Computing Toolbox)。
在 R2006a 之前推出
pdf | raylcdf | raylinv | raylstat | raylfit | raylrnd
pdf
raylcdf
raylinv
raylstat
raylfit
raylrnd
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office