Error using rng(1) ?

4 visualizzazioni (ultimi 30 giorni)
amani
amani il 27 Giu 2024
Commentato: Sam Chak il 27 Giu 2024
i have Error using rng ! can s1 give me a help plz !
  2 Commenti
Star Strider
Star Strider il 27 Giu 2024
The error message is explicit and detailed. Just do what it tells you to do.
Sam Chak
Sam Chak il 27 Giu 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]

Accedi per commentare.

Risposte (0)

Tag

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by