How do I create random hex characters?

Answers (1)

This is one way
x = dec2hex(randi([1 1000], 1, 5000));

Categories

Find more on Random Number Generation in Help Center and File Exchange

Asked:

on 15 Oct 2020

Answered:

on 15 Oct 2020

Community Treasure Hunt

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

Start Hunting!