Error using rng(1) ?

4 views (last 30 days)
amani
amani on 27 Jun 2024
Commented: Sam Chak on 27 Jun 2024
i have Error using rng ! can s1 give me a help plz !
  2 Comments
Star Strider
Star Strider on 27 Jun 2024
The error message is explicit and detailed. Just do what it tells you to do.
Sam Chak
Sam Chak on 27 Jun 2024
@amani, are you specifically looking to use RNG Seed Number 1 in your work? Or are you asking for technical explanations about why it produces such an error message? Alternatively, do you want to know what "rand('state', 0)" has to do with Seed Number 1?
rng(1)
rng
ans = struct with fields:
Type: 'twister' Seed: 1 State: [625x1 uint32]

Sign in to comment.

Answers (0)

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!