Could anyone please help me to solve the issue in the following command line.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
jaah navi
le 9 Nov 2021
Réponse apportée : jaah navi
le 9 Nov 2021
When I run the following command line
randi(10,5,2)
I am getting the following result
ans =
7 4
3 5
6 8
9 8
1 7
But I want to have the result in the following manner
7 4
3 5
6 8
9 2
1 10
such that the numbers should not be repeated again. Could anyone please help me on this.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!