Triangular Distributed Random Variable Generator

This function generates a vector of triangular distributed continuous random variable
2,6K download
Aggiornato 23 mar 2007

Visualizza la licenza

This function generates a vector of triangular distributed continuous random variable. By specifying minimum value(a), maximum value(b), mode(c), and number of variables to be generated(n), the function gives a vector of random variables as output (X). The command syntax is X=trirnd(a,c,b,n).You can see the histogram by using the command such as hist(trirnd(1,5,10,100000),50);

Cita come

Mongkut Piantanakulchai (2025). Triangular Distributed Random Variable Generator (https://it.mathworks.com/matlabcentral/fileexchange/8054-triangular-distributed-random-variable-generator), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Two-Sided Power Distribution

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Updated Help Section of the script.
Include an example of using the command.