Iterate from mid way

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

But what do you mean by same random values , can you elaborate this part?
initially I start from 1st iteration and do it for thousand iterations. That time i generate some random values. Now simply i want to run it from the 315th iteration and stop it from the 415th iteration
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
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.

Asked:

on 4 Aug 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!