Hi I have a problem trying to make a loop

I have a loop in which everytime is looped, it creates a different values. I need to store every different value from that loop that gives me when it ends but I don´t know how to create it
Thanks :)

댓글 수: 2

VBBV
VBBV 2020년 12월 11일
Can you describe your questuon more clearly ? What you want to store and which loop you want to use ?
Hector Calderon
Hector Calderon 2020년 12월 11일
For example
I want to get a random number from 1 to 100
I get any number and i want to store that number in a vector
Choose any other random number again
And I want to store that number with the last one I got
And repeat
I just want to know which function to use
Im bad a coding and idk how to explain more clearly :((

답변 (1개)

Cris LaPierre
Cris LaPierre 2020년 12월 11일

0 개 추천

Ch 13 of MATLAB Onramp.

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

질문:

2020년 12월 11일

마감:

2020년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by