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 commentaires

VBBV
VBBV le 11 Déc 2020
Can you describe your questuon more clearly ? What you want to store and which loop you want to use ?
Hector Calderon
Hector Calderon le 11 Déc 2020
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 :((

Cette question est clôturée.

Clôturé :

le 12 Déc 2020

Community Treasure Hunt

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

Start Hunting!

Translated by