How do I generate numbers

How do I generate 100 six digits numbers in matlab between 100000-999999

Answers (1)

V = randi([100000,999999],1,100)

1 Comment

How do i get unique values that don't repeat

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Asked:

on 16 Dec 2019

Commented:

on 16 Dec 2019

Community Treasure Hunt

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

Start Hunting!