Quasi Skewed Truncated Normal Generator

版本 1.0.2 (42.3 KB) 作者: andrepiz
qstrandn - Quasi Skewed Truncated Normal Generator
20.0 次下载
更新时间 2022/2/21

查看许可证

qstrandn samples n data points following three types of normal distributions and their combinations:
  • QUASI NORMAL: normal distribution elevated to the power of c
  • SKEWED NORMAL: normal distribution with skewness alpha
  • TRUNCATED NORMAL: normal distribution truncated at lower limit l and upper limit u
% x=qstrandn(n,mu,sigma,c,alpha,l,u)
% OUTPUT
% x=sampled data
% INPUT
% n=number of samples
% mu=mean (default: 0 --> standard Gaussian distribution)
% sigma=standard deviation (default: 1 --> standard Gaussian distribution)
% c=coefficient of quasi-normality (default: 1 --> Gaussian distribution)
% alpha=skewness (default: 0 --> not-skewed distribution)
% l=lower limit of truncation (default: -inf --> no lower truncation)
% u=upper limit of truncation (default: inf --> no upper truncation)

引用格式

andrepiz (2024). Quasi Skewed Truncated Normal Generator (https://www.mathworks.com/matlabcentral/fileexchange/105105-quasi-skewed-truncated-normal-generator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: Truncated Normal Generator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.2

Uniformed picture

1.0.1

Toolbox Kick-Off

1.0.0