How do I create random hex characters?

조회 수: 33 (최근 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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by