i would like to create a randi function that will allow me to generate two arguments at one
Show older comments
i would like to create a randi function that will allow me to generate two arguments at one or make a function to shoot at the hazard n cell in a grid
exemple
Faire une fonction pour tirer au hazard n cellule dans une grille.
n= number of location
don't get the location or matrixx==nan
n=100
[nligne ncol]=randi([1 100],n)% its not corect
Accepted Answer
More Answers (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!