How to select element from vector
99 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marat Zhe
am 14 Jun. 2018
Kommentiert: Marat Zhe
am 14 Jun. 2018
__Hi guys. I've got a vector (for exhample) A=[5,4,7,9,11,2,16] (generally vector may be bigger).
1. I want to take random element a1 from it (now vector A have size 1*7).
2. Then i want to take one more random element a2 from A with out of a1 !!
etc.
__So i want to take all elements from vector A.
__Can you give me a clue, how to do it in a simplest way.
__Thanks in advance!!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!