How do I create random hex characters?

3 ビュー (過去 30 日間)
Javadkhan Gurbanov
Javadkhan Gurbanov 2020 年 10 月 15 日
回答済み: Ameer Hamza 2020 年 10 月 15 日
How can I create 5000 random hex characters?

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 10 月 15 日
This is one way
x = dec2hex(randi([1 1000], 1, 5000));

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by