How do I create random hex characters?

3 visualizaciones (últimos 30 días)
Javadkhan Gurbanov
Javadkhan Gurbanov el 15 de Oct. de 2020
Respondida: Ameer Hamza el 15 de Oct. de 2020
How can I create 5000 random hex characters?

Respuestas (1)

Ameer Hamza
Ameer Hamza el 15 de Oct. de 2020
This is one way
x = dec2hex(randi([1 1000], 1, 5000));

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by