Info

This question is closed. Reopen it to edit or answer.

Iterate from mid way

1 view (last 30 days)
Eranja Noopehewa
Eranja Noopehewa on 4 Aug 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
I have got 8 random values from 100 to 1000 and i generate that for thousand iterations. For an example i=1:1000 Now i want to generate the same random values which i generated from 1:1000 from 315:415 .. how can i initialize this?
  4 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 5 Aug 2018
Edited: KALYAN ACHARJYA on 5 Aug 2018
And you want the same number should be generated. Your question is not clear for me, can you elaborate, what you exactly want
Aquatris
Aquatris on 5 Aug 2018
did you look into rng() function? I think your answer lies there but we cannot help you further unless you explain what you want more clearly.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!