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

madhan ravi
madhan ravi 2018년 8월 4일
But what do you mean by same random values , can you elaborate this part?
Eranja Noopehewa
Eranja Noopehewa 2018년 8월 5일
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 2018년 8월 5일
편집: KALYAN ACHARJYA 2018년 8월 5일
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 2018년 8월 5일
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.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2018년 8월 4일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by