How do I create random hex characters?

3 visualizzazioni (ultimi 30 giorni)
Javadkhan Gurbanov
Javadkhan Gurbanov il 15 Ott 2020
Risposto: Ameer Hamza il 15 Ott 2020
How can I create 5000 random hex characters?

Risposte (1)

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

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by