How do I create random hex characters?
Show older comments
How can I create 5000 random hex characters?
Answers (1)
Ameer Hamza
on 15 Oct 2020
This is one way
x = dec2hex(randi([1 1000], 1, 5000));
Categories
Find more on Random Number Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!