How do I create random hex characters?

3 vues (au cours des 30 derniers jours)
Javadkhan Gurbanov
Javadkhan Gurbanov le 15 Oct 2020
How can I create 5000 random hex characters?

Réponses (1)

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

Catégories

En savoir plus sur Random Number Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by