generating a randon vector withou repeating any number

Hello, Someone can help me with the following question? I want to generate a randon vector (1x17) where the number range are 1 to 18, but i don't want to repeat any of these numbers.
Thanks!!

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Dic. de 2015

Respondida:

el 2 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by