rgpd.m
来自「极值理论中各种函数及图像的程序。matlab实现。」· M 代码 · 共 13 行
M
13 行
function c=rgpd(n,xi,mu,beta)
%Generates a random sample from GPD .
%
% USAGE: c=rgpd(n,xi,mu,beta)
%
% n: Sample size.
%xi,mu,beta: Parameters of the distribution.
%
% c: Randomly generated sample.
c=mu + (beta/xi) .* ((1 - rand(1,n)).^( - xi) - 1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?