xpowery.m
来自「一些常被用于教学或者参考的概率论的实例的源代码」· M 代码 · 共 14 行
M
14 行
%xpowery.m/created by PJNahin for "Duelling Idiots"(1/6/99)
%This m-file plots the probability density function of X^Y,
%where X and Y are independent, and both uniform from 0 to 1.
%
%
z=.0001:.01:1;
Z=expint(-log(z))./z;
plot(z,Z)
grid
title('Fig.13.2 - PDF of Z = X^Y, with X and Y uniform from 0 to 1')
ylabel('Probability Density')
xlabel('z')
figure(1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?